Package com.linkedin.venice.pushmonitor
Class WaitAllPushStatusDecider
java.lang.Object
com.linkedin.venice.pushmonitor.PushStatusDecider
com.linkedin.venice.pushmonitor.WaitAllPushStatusDecider
Wait all strategy stands for Venice do not allow one replica to be failed. In case of failure, Venice fail the whole
push.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected int
boolean
hasEnoughReplicasForOnePartition
(int actual, int expected) Methods inherited from class com.linkedin.venice.pushmonitor.PushStatusDecider
checkPushStatusAndDetailsByPartitionsStatus, getPartitionStatus, getReadyToServeInstances, getReadyToServeInstances, getReplicaCurrentStatus, hasEnoughNodesToStartPush
-
Constructor Details
-
WaitAllPushStatusDecider
public WaitAllPushStatusDecider()
-
-
Method Details
-
getStrategy
- Specified by:
getStrategy
in classPushStatusDecider
-
hasEnoughReplicasForOnePartition
public boolean hasEnoughReplicasForOnePartition(int actual, int expected) - Specified by:
hasEnoughReplicasForOnePartition
in classPushStatusDecider
-
getNumberOfToleratedErrors
protected int getNumberOfToleratedErrors()- Specified by:
getNumberOfToleratedErrors
in classPushStatusDecider
-