Class ClusterManagementMode
java.lang.Object
org.apache.axis2.clustering.tribes.ClusterManagementMode
- All Implemented Interfaces:
OperationMode
Represents a member running in load balance mode
-
Constructor Summary
ConstructorsConstructorDescriptionClusterManagementMode(byte[] clusterManagerDomain, Map<String, Map<String, org.apache.axis2.clustering.management.GroupManagementAgent>> groupManagementAgents, MembershipManager primaryMembershipManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInterceptors(org.apache.catalina.tribes.Channel channel) Add channel interecptorsGet all the membership managers associated with a particular modevoidinit(org.apache.catalina.tribes.Channel channel) Initialize this modevoidnotifyMemberJoin(org.apache.catalina.tribes.Member member) Notify to the relevant parties that a membermemberjoined
-
Constructor Details
-
ClusterManagementMode
public ClusterManagementMode(byte[] clusterManagerDomain, Map<String, Map<String, org.apache.axis2.clustering.management.GroupManagementAgent>> groupManagementAgents, MembershipManager primaryMembershipManager)
-
-
Method Details
-
addInterceptors
public void addInterceptors(org.apache.catalina.tribes.Channel channel) Description copied from interface:OperationModeAdd channel interecptors- Specified by:
addInterceptorsin interfaceOperationMode- Parameters:
channel- The Channel to which interceptors need to be added
-
init
public void init(org.apache.catalina.tribes.Channel channel) Description copied from interface:OperationModeInitialize this mode- Specified by:
initin interfaceOperationMode- Parameters:
channel- The channel related to this member
-
getMembershipManagers
Description copied from interface:OperationModeGet all the membership managers associated with a particular mode- Specified by:
getMembershipManagersin interfaceOperationMode- Returns:
- membership managers associated with a particular mode
-
notifyMemberJoin
public void notifyMemberJoin(org.apache.catalina.tribes.Member member) Description copied from interface:OperationModeNotify to the relevant parties that a membermemberjoined- Specified by:
notifyMemberJoinin interfaceOperationMode- Parameters:
member- The member to whom this member lists have to be sent
-