ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/catalina/ha/ClusterValve.java

Path
ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/catalina/ha/ClusterValve.java
Status
scanned
Type
file
Name
ClusterValve.java
Extension
.java
Programming language
Java
Mime type
text/plain
File type
ASCII text, with CRLF line terminators
Tag

      
    
Rootfs path

      
    
Size
1449 (1.4 KB)
MD5
427be7d6aedc020ddc0cac8f2961ef54
SHA1
68f73b9d2df5e90135884a4c45e1eaeed5916323
SHA256
fb1902131a0c9e1ed1638cac8609acdf492050927f609ffdd9e1c6ed91fc79a4
SHA512

      
    
SHA1_git
58d411976e4252573ba200724f70f7a6aa5805d2
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
ClusterValve.java | 1.4 KB |

/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.apache.catalina.ha; import org.apache.catalina.Valve; /** * Cluster valves are a simple extension to the Tomcat valve architecture with a small addition of being able to * reference the cluster component in the container it sits in. */ public interface ClusterValve extends Valve { /** * Returns the cluster the valve is associated with * * @return CatalinaCluster */ CatalinaCluster getCluster(); /** * Associates the cluster deployer with a cluster * * @param cluster CatalinaCluster */ void setCluster(CatalinaCluster cluster); }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
63.98
Copyrights

      
    
Holders

      
    
Authors

      
    
License detections License expression License expression SPDX
apache_2_0-4bde3f57-78aa-4201-96bf-531cba09e7de apache-2.0 Apache-2.0
URL Start line End line
http://www.apache.org/licenses/LICENSE-2.0 9 9