Interface Group<M extends GroupMember>
- Type Parameters:
M- the group member type
- All Superinterfaces:
Registrar<GroupMembershipListener<M>>
- All Known Subinterfaces:
CacheContainerGroup,ChannelGroup,Group<A,,M> LocalGroup
- All Known Implementing Classes:
EmbeddedCacheManagerGroup,JChannelGroup
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
-
getLocalMember
-
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.
-