Class ReplicaHeartbeatInfo

java.lang.Object
com.linkedin.davinci.kafka.consumer.ReplicaHeartbeatInfo

public class ReplicaHeartbeatInfo extends Object
  • Constructor Details

    • ReplicaHeartbeatInfo

      public ReplicaHeartbeatInfo(String replicaId, String region, String leaderState, boolean readyToServe, long heartbeat, long lag)
  • Method Details

    • getHeartbeat

      public long getHeartbeat()
    • setHeartbeat

      public void setHeartbeat(long heartbeat)
    • getLeaderState

      public String getLeaderState()
    • setLeaderState

      public void setLeaderState(String leaderState)
    • getReplicaId

      public String getReplicaId()
    • setReplicaId

      public void setReplicaId(String replicaId)
    • getRegion

      public String getRegion()
    • setRegion

      public void setRegion(String region)
    • getLag

      public long getLag()
    • setLag

      public void setLag(long lag)
    • isReadyToServe

      public boolean isReadyToServe()
    • setReadyToServe

      public void setReadyToServe(boolean readyToServe)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object