Package org.wildfly.clustering.group
Interface Group
-
- All Superinterfaces:
Registrar<GroupListener>
public interface Group extends Registrar<GroupListener>
Represents a groups of nodes.- Author:
- Paul Ferraro
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NodegetLocalMember()Returns the local member.MembershipgetMembership()Gets the current membership of this groupStringgetName()Returns the logical name of this group.booleanisSingleton()Indicates whether or not this is a singleton group.
-
-
-
Method Detail
-
getName
String getName()
Returns the logical name of this group.- Returns:
- the group name
-
getLocalMember
Node getLocalMember()
Returns the local member.- Returns:
- the local member
-
getMembership
Membership 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.
-
-