Package org.wildfly.clustering.group
Interface Membership
Deprecated, for removal: This API element is subject to removal in a future version.
Encapsulates an immutable membership of a group.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Returns the coordinator node of this group membership.Deprecated, for removal: This API element is subject to removal in a future version.Returns the nodes that comprise this group membership.booleanDeprecated, for removal: This API element is subject to removal in a future version.Indicates whether or not the local node is the coordinator of this group membership.
-
Method Details
-
isCoordinator
boolean isCoordinator()Deprecated, for removal: This API element is subject to removal in a future version.Indicates whether or not the local node is the coordinator of this group membership. Semantically equivalent to:group.getLocalNode().equals(#getCoordinator())- Returns:
- true, if we are the group membership coordinator, false otherwise
-
getCoordinator
Node getCoordinator()Deprecated, for removal: This API element is subject to removal in a future version.Returns the coordinator node of this group membership. All nodes of this membership will always agree on which node is the coordinator.- Returns:
- the group coordinator node
-
getMembers
Deprecated, for removal: This API element is subject to removal in a future version.Returns the nodes that comprise this group membership. The membership order will be consistent on each node in the group.- Returns:
- a list of nodes ordered by descending age.
-
GroupMembership.