Interface GroupMembership<M extends GroupMember>
- Type Parameters:
M- the group member type
- All Superinterfaces:
GroupMembership<M>
- All Known Implementing Classes:
ViewMembership
Group membership whose coordinator is identified by its index in the membership.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptiondefault MReturns the coordinator of this group membership.intstatic <M extends GroupMember>
GroupMembership<M> singleton(M member) Methods inherited from interface org.wildfly.clustering.server.GroupMembership
getMembers
-
Method Details
-
getCoordinatorIndex
int getCoordinatorIndex() -
getCoordinator
Description copied from interface:GroupMembershipReturns the coordinator of this group membership. All members of this membership will always agree on which member is the coordinator.- Specified by:
getCoordinatorin interfaceGroupMembership<M extends GroupMember>- Returns:
- the group coordinator
-
singleton
-