Package com.linkedin.venice.routerapi
Class ReplicaState
- java.lang.Object
-
- com.linkedin.venice.routerapi.ReplicaState
-
public class ReplicaState extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ReplicaState()
ReplicaState(int partitionId, java.lang.String participantId, ExecutionStatus venicePushStatus)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getParticipantId()
int
getPartition()
ExecutionStatus
getVenicePushStatus()
int
hashCode()
boolean
isReadyToServe()
void
setParticipantId(java.lang.String participantId)
void
setPartition(int partitionId)
void
setVenicePushStatus(ExecutionStatus venicePushStatus)
void
setVenicePushStatus(java.lang.String venicePushStatus)
java.lang.String
toString()
-
-
-
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()
-
getVenicePushStatus
public ExecutionStatus getVenicePushStatus()
-
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 classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-