public class RaftGroupMembers extends Object
Modifier and Type | Method and Description |
---|---|
long |
index()
Returns the position of the membership change that leads to formation
of this group.
|
boolean |
isKnownMember(Endpoint endpoint)
Returns true if the endpoint is a member of this group, false otherwise.
|
int |
majority()
Returns the majority for this group.
|
int |
memberCount()
Returns the number of members in this group.
|
Collection<Endpoint> |
members()
Return all members in this group.
|
Collection<Endpoint> |
remoteMembers()
Returns remote members in this group, excluding the local member.
|
String |
toString() |
public long index()
public Collection<Endpoint> members()
remoteMembers()
public Collection<Endpoint> remoteMembers()
public int memberCount()
public int majority()
public boolean isKnownMember(Endpoint endpoint)
Copyright © 2021 Hazelcast, Inc.. All Rights Reserved.