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

  • 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
    • setWkaBasedMembershipScheme

      public void setWkaBasedMembershipScheme(WkaBasedMembershipScheme wkaBasedMembershipScheme)
    • addGroupManagementAgent

      public void addGroupManagementAgent(org.apache.catalina.tribes.Channel channel, String domain, GroupManagementAgent groupMgtAgent)
      Add a new GroupManagementAgent
      Parameters:
      channel - The channel related to this member
      domain - Domain of the GroupManagementAgent
      groupMgtAgent - the GroupManagementAgent to be added
    • 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