Class ReplicaState

java.lang.Object
com.linkedin.venice.routerapi.ReplicaState

public class ReplicaState extends Object
  • Constructor Details

    • ReplicaState

      public ReplicaState()
    • ReplicaState

      public ReplicaState(int partitionId, String participantId, ExecutionStatus venicePushStatus)
  • Method Details

    • getPartition

      public int getPartition()
    • getParticipantId

      public String getParticipantId()
    • getVenicePushStatus

      public ExecutionStatus getVenicePushStatus()
    • isReadyToServe

      public boolean isReadyToServe()
    • setPartition

      public void setPartition(int partitionId)
    • setParticipantId

      public void setParticipantId(String participantId)
    • setVenicePushStatus

      public void setVenicePushStatus(String venicePushStatus)
    • setVenicePushStatus

      public void setVenicePushStatus(ExecutionStatus venicePushStatus)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object