org.apache.axis2.clustering.tribes
Class ClusterManagementMode

java.lang.Object
  extended by org.apache.axis2.clustering.tribes.ClusterManagementMode
All Implemented Interfaces:
OperationMode

public class ClusterManagementMode
extends Object
implements OperationMode

Represents a member running in load balance mode


Constructor Summary
ClusterManagementMode(byte[] clusterManagerDomain, Map<String,GroupManagementAgent> groupManagementAgents, MembershipManager primaryMembershipManager)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClusterManagementMode

public ClusterManagementMode(byte[] clusterManagerDomain,
                             Map<String,GroupManagementAgent> groupManagementAgents,
                             MembershipManager primaryMembershipManager)
Method Detail

addInterceptors

public void addInterceptors(org.apache.catalina.tribes.Channel channel)
Description copied from interface: OperationMode
Add channel interecptors

Specified by:
addInterceptors in interface OperationMode
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: OperationMode
Initialize this mode

Specified by:
init in interface OperationMode
Parameters:
channel - The channel related to this member

getMembershipManagers

public List<MembershipManager> getMembershipManagers()
Description copied from interface: OperationMode
Get all the membership managers associated with a particular mode

Specified by:
getMembershipManagers in interface OperationMode
Returns:
membership managers associated with a particular mode

notifyMemberJoin

public void notifyMemberJoin(org.apache.catalina.tribes.Member member)
Description copied from interface: OperationMode
Notify to the relevant parties that a member member joined

Specified by:
notifyMemberJoin in interface OperationMode
Parameters:
member - The member to whom this member lists have to be sent


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.