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 classQuorumInfo.ReplicaState
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)inthashCode()longhighWatermark()longleaderEpoch()intleaderId()List<QuorumInfo.ReplicaState>observers()StringtoString()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()
-
-