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

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

      
    
Rootfs path

      
    
Size
1482 (1.4 KB)
MD5
10c5e862629dc90c9cca6d4dc9e5c510
SHA1
b1e910890d0896a9f89297da6f86450c22ba2695
SHA256
ca862a08e22ab0270dff26d97b47e99e311e05e4b4333826fa532d13acd48edf
SHA512

      
    
SHA1_git
b1a164a2dae1371b90a1e1d38bf247d4e0e665be
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
Sender.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.backend; /** * Interface to send data to proxies. */ public interface Sender { /** * Set the configuration parameters * * @param config The heartbeat listener configuration * * @throws Exception An error occurred */ void init(HeartbeatListener config) throws Exception; /** * Send the message to the proxies * * @param mess The message that will be sent * * @return <code>0</code> if no error occurred, <code>-1</code> otherwise * * @throws Exception An error occurred */ int send(String mess) throws Exception; }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
61.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