Package io.aeron.cluster
Class ClusterMembership
java.lang.Object
io.aeron.cluster.ClusterMembership
Detail for the cluster membership from the perspective of a given member.
-
Field Summary
FieldsModifier and TypeFieldDescriptionCurrent active members of a cluster.List of active cluster members encoded to a String.longCurrent time in nanoseconds when the query was run.intCurrent leader id from the perspective of the member doing the query.intMember id that the query is run against. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
memberId
public int memberIdMember id that the query is run against. -
leaderMemberId
public int leaderMemberIdCurrent leader id from the perspective of the member doing the query. -
currentTimeNs
public long currentTimeNsCurrent time in nanoseconds when the query was run. -
activeMembersStr
List of active cluster members encoded to a String. -
activeMembers
Current active members of a cluster.
-
-
Constructor Details
-
ClusterMembership
public ClusterMembership()
-