Class StoreStatusDecider
java.lang.Object
com.linkedin.venice.controller.kafka.StoreStatusDecider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetStoreStatues
(List<Store> storeList, ResourceAssignment resourceAssignment, PushMonitor pushMonitor) Get the statuses of given stores based on the replicas statues in the given assignment.
-
Constructor Details
-
StoreStatusDecider
public StoreStatusDecider()
-
-
Method Details
-
getStoreStatues
public static Map<String,String> getStoreStatues(List<Store> storeList, ResourceAssignment resourceAssignment, PushMonitor pushMonitor) Get the statuses of given stores based on the replicas statues in the given assignment.- Returns:
- a map in which the key is store name and the value is store's status.
-