com.ibm.websphere.hamanager.jmx
Interface GroupData
-
public interface GroupDataThis is returned to provide the current state of a group.- Version:
- 1.6
-
-
Field Summary
Fields Modifier and Type Field and Description static intGROUP_STATE_ERRORThis means the current group state is in error (for example multiple policies match the group).static intGROUP_STATE_OKThis means the current group state is good.static intQUORUM_ACHIEVEDThis means quorum support is enabled and the group has quorum.static intQUORUM_DISABLEDThis means quorum support is disabled for this group.static intQUORUM_FORCEDThis means quorum has been forced true, regardless of the actual number of members.static intQUORUM_UNKNOWNThis means quorum state is indeterminatestatic intQUORUM_WAITINGThis 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.GroupNamegetGroupName()intgetGroupState()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.intgetQuorumState()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.
-
-