com.ibm.websphere.hamanager.jmx

Interface GroupData


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

Field Summary

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

Method Summary

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

Field Detail

QUORUM_UNKNOWN

  1. static final int QUORUM_UNKNOWN
This means quorum state is indeterminate
See Also:

QUORUM_DISABLED

  1. static final int QUORUM_DISABLED
This means quorum support is disabled for this group.
See Also:

QUORUM_WAITING

  1. static final int QUORUM_WAITING
This means quorum support is enabled and the group is waiting for enough members to achieve quorum.
See Also:

QUORUM_ACHIEVED

  1. static final int QUORUM_ACHIEVED
This means quorum support is enabled and the group has quorum.
See Also:

QUORUM_FORCED

  1. static final int QUORUM_FORCED
This means quorum has been forced true, regardless of the actual number of members.
See Also:

GROUP_STATE_OK

  1. static final int GROUP_STATE_OK
This means the current group state is good.
See Also:

GROUP_STATE_ERROR

  1. static final int GROUP_STATE_ERROR
This means the current group state is in error (for example multiple policies match the group).
See Also:

Method Detail

getGroupName

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

getPolicyNames

  1. 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

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

getGroupState

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

getMemberData

  1. 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.