public class ClusterManagementMode extends Object implements OperationMode
Constructor and Description |
---|
ClusterManagementMode(byte[] clusterManagerDomain,
Map<String,GroupManagementAgent> groupManagementAgents,
MembershipManager primaryMembershipManager) |
Modifier and Type | Method and Description |
---|---|
void |
addInterceptors(org.apache.catalina.tribes.Channel channel)
Add channel interecptors
|
List<MembershipManager> |
getMembershipManagers()
Get all the membership managers associated with a particular mode
|
void |
init(org.apache.catalina.tribes.Channel channel)
Initialize this mode
|
void |
notifyMemberJoin(org.apache.catalina.tribes.Member member)
Notify to the relevant parties that a member
member joined |
public ClusterManagementMode(byte[] clusterManagerDomain, Map<String,GroupManagementAgent> groupManagementAgents, MembershipManager primaryMembershipManager)
public void addInterceptors(org.apache.catalina.tribes.Channel channel)
OperationMode
addInterceptors
in interface OperationMode
channel
- The Channel to which interceptors need to be addedpublic void init(org.apache.catalina.tribes.Channel channel)
OperationMode
init
in interface OperationMode
channel
- The channel related to this memberpublic List<MembershipManager> getMembershipManagers()
OperationMode
getMembershipManagers
in interface OperationMode
public void notifyMemberJoin(org.apache.catalina.tribes.Member member)
OperationMode
member
joinednotifyMemberJoin
in interface OperationMode
member
- The member to whom this member lists have to be sentCopyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.