Package org.wildfly.clustering.server
Interface GroupMembership<M extends GroupMember>
- Type Parameters:
M- the member type
- All Known Subinterfaces:
GroupMembership<M>
- All Known Implementing Classes:
ViewMembership
public interface GroupMembership<M extends GroupMember>
Encapsulates the membership of a group.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptionReturns the coordinator of this group membership.Returns the members comprising this group membership.
-
Method Details
-
getCoordinator
M getCoordinator()Returns the coordinator of this group membership. All members of this membership will always agree on which member is the coordinator.- Returns:
- the group coordinator
-
getMembers
-