Package org.apache.kafka.clients.admin
Class QuorumInfo
- java.lang.Object
-
- org.apache.kafka.clients.admin.QuorumInfo
-
public class QuorumInfo extends Object
This class is used to describe the state of the quorum received in DescribeQuorumResponse.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
QuorumInfo.ReplicaState
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
long
highWatermark()
long
leaderEpoch()
int
leaderId()
List<QuorumInfo.ReplicaState>
observers()
String
toString()
List<QuorumInfo.ReplicaState>
voters()
-
-
-
Method Detail
-
leaderId
public int leaderId()
-
leaderEpoch
public long leaderEpoch()
-
highWatermark
public long highWatermark()
-
voters
public List<QuorumInfo.ReplicaState> voters()
-
observers
public List<QuorumInfo.ReplicaState> observers()
-
-