Class ClusterManagementMode

java.lang.Object
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 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: 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