ttomcat-1778514358873.zip-extract/apache-tomcat-11.0.18-src/java/org/apache/catalina/tribes/group/GroupChannelMBean.java

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

      
    
Rootfs path

      
    
Size
2057 (2.0 KB)
MD5
a8880ccfd21e4c3d8ffd4b90b48188d7
SHA1
48bf437e7ea2aa7b90ef0371302521513b9cc254
SHA256
e7409e87b6d011296a005329ff9a331b4f7b055a946c7056882be89df9ee8788
SHA512

      
    
SHA1_git
9f3b8587f0e1371c24805508f117d72cdf487f2d
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
GroupChannelMBean.java | 2.0 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.tribes.group; import java.io.Serializable; import org.apache.catalina.tribes.ChannelException; import org.apache.catalina.tribes.ChannelListener; import org.apache.catalina.tribes.ErrorHandler; import org.apache.catalina.tribes.Member; import org.apache.catalina.tribes.MembershipListener; import org.apache.catalina.tribes.UniqueId; public interface GroupChannelMBean { // Attributes boolean getOptionCheck(); boolean getHeartbeat(); long getHeartbeatSleeptime(); // Operations void start(int svc) throws ChannelException; void stop(int svc) throws ChannelException; UniqueId send(Member[] destination, Serializable msg, int options) throws ChannelException; UniqueId send(Member[] destination, Serializable msg, int options, ErrorHandler handler) throws ChannelException; void addMembershipListener(MembershipListener listener); void addChannelListener(ChannelListener listener); void removeMembershipListener(MembershipListener listener); void removeChannelListener(ChannelListener listener); boolean hasMembers(); Member[] getMembers(); Member getLocalMember(boolean incAlive); }
Detected license expression
apache-2.0
Detected license expression (SPDX)
Apache-2.0
Percentage of license text
50.85
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