Package com.linkedin.venice.routerapi
Class ResourceStateResponse
- java.lang.Object
-
- com.linkedin.venice.controllerapi.ControllerResponse
-
- com.linkedin.venice.routerapi.ResourceStateResponse
-
public class ResourceStateResponse extends ControllerResponse
-
-
Constructor Summary
Constructors Constructor Description ResourceStateResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ReplicaState>
getReplicaStates()
java.util.List<java.lang.Integer>
getUnretrievablePartitions()
boolean
isReadyToServe()
void
setReadyToServe(boolean readyToServe)
void
setReplicaStates(java.util.List<ReplicaState> replicaStates)
void
setUnretrievablePartitions(java.util.List<java.lang.Integer> unretrievablePartitions)
-
Methods inherited from class com.linkedin.venice.controllerapi.ControllerResponse
getCluster, getError, getErrorType, getExceptionType, getName, isError, setCluster, setError, setError, setError, setErrorType, setName, toString
-
-
-
-
Method Detail
-
getReplicaStates
public java.util.List<ReplicaState> getReplicaStates()
-
getUnretrievablePartitions
public java.util.List<java.lang.Integer> getUnretrievablePartitions()
-
isReadyToServe
public boolean isReadyToServe()
-
setReplicaStates
public void setReplicaStates(java.util.List<ReplicaState> replicaStates)
-
setReadyToServe
public void setReadyToServe(boolean readyToServe)
-
setUnretrievablePartitions
public void setUnretrievablePartitions(java.util.List<java.lang.Integer> unretrievablePartitions)
-
-