Package org.wildfly.clustering.server
Interface Group<M extends GroupMember>
- All Superinterfaces:
Registrar<GroupMembershipListener<M>>
Represents a set of group members.
- Author:
- Paul Ferraro
-
Method Summary
Modifier and TypeMethodDescriptionReturns the local member.Gets the current membership of this groupgetName()Returns the logical name of this group.booleanIndicates whether or not this is a singleton group.
-
Method Details
-
getName
String getName()Returns the logical name of this group.- Returns:
- the group name
-
getLocalMember
M getLocalMember()Returns the local member.- Returns:
- the local member
-
getMembership
GroupMembership<M> getMembership()Gets the current membership of this group- Returns:
- the group membership
-
isSingleton
boolean isSingleton()Indicates whether or not this is a singleton group. The membership of a singleton group contains only the local member and never changes.- Returns:
- true, if this is a singleton group, false otherwise.
-