public class QuorumInfo extends Object
Modifier and Type | Class and Description |
---|---|
static class |
QuorumInfo.ReplicaState |
Constructor and Description |
---|
QuorumInfo(int leaderId,
long leaderEpoch,
long highWatermark,
List<QuorumInfo.ReplicaState> voters,
List<QuorumInfo.ReplicaState> observers) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
long |
highWatermark() |
long |
leaderEpoch() |
int |
leaderId() |
List<QuorumInfo.ReplicaState> |
observers() |
String |
toString() |
List<QuorumInfo.ReplicaState> |
voters() |
public QuorumInfo(int leaderId, long leaderEpoch, long highWatermark, List<QuorumInfo.ReplicaState> voters, List<QuorumInfo.ReplicaState> observers)
public int leaderId()
public long leaderEpoch()
public long highWatermark()
public List<QuorumInfo.ReplicaState> voters()
public List<QuorumInfo.ReplicaState> observers()