public interface MembershipService
Modifier and Type | Method and Description |
---|---|
MembershipGroup |
getGroup(Version version)
Returns the membership group for the given version.
|
Collection<MembershipGroup> |
getGroups()
Returns the set of membership groups in the cluster.
|
MembershipGroup |
getLocalGroup()
Returns the group associated with the local member.
|
Member |
getLocalMember()
Returns the local member.
|
Member |
getMember(NodeId nodeId)
Returns the specified controller node.
|
Set<Member> |
getMembers()
Returns the set of current cluster members in the local group.
|
Set<Member> |
getMembers(Version version)
Returns the set of members in the given version.
|
Member getLocalMember()
MembershipGroup getLocalGroup()
Set<Member> getMembers()
Collection<MembershipGroup> getGroups()
MembershipGroup getGroup(Version version)
version
- the version for which to return the membership groupSet<Member> getMembers(Version version)
version
- the version for which to return the set of members