Class ReplicaState


  • public class ReplicaState
    extends java.lang.Object
    • Constructor Detail

      • ReplicaState

        public ReplicaState()
      • ReplicaState

        public ReplicaState​(int partitionId,
                            java.lang.String participantId,
                            ExecutionStatus venicePushStatus)
    • Method Detail

      • getPartition

        public int getPartition()
      • getParticipantId

        public java.lang.String getParticipantId()
      • isReadyToServe

        public boolean isReadyToServe()
      • setPartition

        public void setPartition​(int partitionId)
      • setParticipantId

        public void setParticipantId​(java.lang.String participantId)
      • setVenicePushStatus

        public void setVenicePushStatus​(java.lang.String venicePushStatus)
      • setVenicePushStatus

        public void setVenicePushStatus​(ExecutionStatus venicePushStatus)
      • toString

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object