Package org.apache.catalina.tribes.group
Interface GroupChannelMBean
- All Known Implementing Classes:
GroupChannel
public interface GroupChannelMBean
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addChannelListener
(ChannelListener listener) void
addMembershipListener
(MembershipListener listener) boolean
long
getLocalMember
(boolean incAlive) Member[]
boolean
boolean
void
removeChannelListener
(ChannelListener listener) void
removeMembershipListener
(MembershipListener listener) send
(Member[] destination, Serializable msg, int options) send
(Member[] destination, Serializable msg, int options, ErrorHandler handler) void
start
(int svc) void
stop
(int svc)
-
Method Details
-
getOptionCheck
boolean getOptionCheck() -
getHeartbeat
boolean getHeartbeat() -
getHeartbeatSleeptime
long getHeartbeatSleeptime() -
start
- Throws:
ChannelException
-
stop
- Throws:
ChannelException
-
send
- Throws:
ChannelException
-
send
UniqueId send(Member[] destination, Serializable msg, int options, ErrorHandler handler) throws ChannelException - Throws:
ChannelException
-
addMembershipListener
-
addChannelListener
-
removeMembershipListener
-
removeChannelListener
-
hasMembers
boolean hasMembers() -
getMembers
Member[] getMembers() -
getLocalMember
-