Class StoreStatusDecider


  • public class StoreStatusDecider
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Map<java.lang.String,​java.lang.String> getStoreStatues​(java.util.List<Store> storeList, ResourceAssignment resourceAssignment, PushMonitor pushMonitor)
      Get the statuses of given stores based on the replicas statues in the given assignment.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StoreStatusDecider

        public StoreStatusDecider()
    • Method Detail

      • getStoreStatues

        public static java.util.Map<java.lang.String,​java.lang.String> getStoreStatues​(java.util.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.