Class ReplicaHeartbeatInfo
java.lang.Object
com.linkedin.davinci.kafka.consumer.ReplicaHeartbeatInfo
-
Constructor Summary
ConstructorDescriptionReplicaHeartbeatInfo
(String replicaId, String region, String leaderState, boolean readyToServe, long heartbeat, long lag) -
Method Summary
Modifier and TypeMethodDescriptionboolean
long
long
getLag()
int
hashCode()
boolean
void
setHeartbeat
(long heartbeat) void
setLag
(long lag) void
setLeaderState
(String leaderState) void
setReadyToServe
(boolean readyToServe) void
void
setReplicaId
(String replicaId) toString()
-
Constructor Details
-
ReplicaHeartbeatInfo
-
-
Method Details
-
getHeartbeat
public long getHeartbeat() -
setHeartbeat
public void setHeartbeat(long heartbeat) -
getLeaderState
-
setLeaderState
-
getReplicaId
-
setReplicaId
-
getRegion
-
setRegion
-
getLag
public long getLag() -
setLag
public void setLag(long lag) -
isReadyToServe
public boolean isReadyToServe() -
setReadyToServe
public void setReadyToServe(boolean readyToServe) -
equals
-
hashCode
public int hashCode() -
toString
-