com.ibm.websphere.hamanager.jmx

Interface GroupData



  • public interface GroupData
    This is returned to provide the current state of a group.
    Version:
    1.6
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static int GROUP_STATE_ERROR
      This means the current group state is in error (for example multiple policies match the group).
      static int GROUP_STATE_OK
      This means the current group state is good.
      static int QUORUM_ACHIEVED
      This means quorum support is enabled and the group has quorum.
      static int QUORUM_DISABLED
      This means quorum support is disabled for this group.
      static int QUORUM_FORCED
      This means quorum has been forced true, regardless of the actual number of members.
      static int QUORUM_UNKNOWN
      This means quorum state is indeterminate
      static int QUORUM_WAITING
      This means quorum support is enabled and the group is waiting for enough members to achieve quorum.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      com.ibm.wsspi.hamanager.GroupName getGroupName() 
      int getGroupState()
      This returns one of the GROUP_STATE_* values.
      GroupMemberData[] getMemberData()
      This returns the member data for the group.
      java.lang.String[] getPolicyNames()
      This returns the name of the policy managing this group.
      int getQuorumState()
      This returns one of the QUORUM_* values.
    • Field Detail

      • QUORUM_UNKNOWN

        static final int QUORUM_UNKNOWN
        This means quorum state is indeterminate
        See Also:
        Constant Field Values
      • QUORUM_DISABLED

        static final int QUORUM_DISABLED
        This means quorum support is disabled for this group.
        See Also:
        Constant Field Values
      • QUORUM_WAITING

        static final int QUORUM_WAITING
        This means quorum support is enabled and the group is waiting for enough members to achieve quorum.
        See Also:
        Constant Field Values
      • QUORUM_ACHIEVED

        static final int QUORUM_ACHIEVED
        This means quorum support is enabled and the group has quorum.
        See Also:
        Constant Field Values
      • QUORUM_FORCED

        static final int QUORUM_FORCED
        This means quorum has been forced true, regardless of the actual number of members.
        See Also:
        Constant Field Values
      • GROUP_STATE_OK

        static final int GROUP_STATE_OK
        This means the current group state is good.
        See Also:
        Constant Field Values
      • GROUP_STATE_ERROR

        static final int GROUP_STATE_ERROR
        This means the current group state is in error (for example multiple policies match the group).
        See Also:
        Constant Field Values
    • Method Detail

      • getGroupName

        com.ibm.wsspi.hamanager.GroupName getGroupName()
        Returns:
        GroupName - The name of the group.
      • getPolicyNames

        java.lang.String[] getPolicyNames()
        This returns the name of the policy managing this group. There should only be one. An empty array means no policy matched. Groups with multiple matching policies will not activate and are considered to be in error.
      • getQuorumState

        int getQuorumState()
        This returns one of the QUORUM_* values.
        Returns:
        int - indication of quorum state for the group.
      • getGroupState

        int getGroupState()
        This returns one of the GROUP_STATE_* values.
        Returns:
        int - indidication of current group state.
      • getMemberData

        GroupMemberData[] getMemberData()
        This returns the member data for the group.
        Returns:
        GroupMemberData[] - an array containing the member data for this group. May be empty if no member data was requested.
IBM WebSphere Application ServerTM
Release 8.5