Class ServiceStatus.IdealStateAndExternalViewMatchServiceStatusCallback

  • All Implemented Interfaces:
    ServiceStatus.ServiceStatusCallback
    Enclosing class:
    ServiceStatus

    public static class ServiceStatus.IdealStateAndExternalViewMatchServiceStatusCallback
    extends Object
    Service status callback that reports starting until all resources relevant to this instance have a matching external view and ideal state. This callback considers the ERROR state in the external view to be equivalent to the ideal state value.
    • Constructor Detail

      • IdealStateAndExternalViewMatchServiceStatusCallback

        public IdealStateAndExternalViewMatchServiceStatusCallback​(org.apache.helix.HelixManager helixManager,
                                                                   String clusterName,
                                                                   String instanceName,
                                                                   List<String> resourcesToMonitor,
                                                                   double minResourcesStartPercent)
    • Method Detail

      • getState

        protected org.apache.helix.model.ExternalView getState​(String resourceName)
      • getPartitionStateMap

        protected Map<String,​String> getPartitionStateMap​(org.apache.helix.model.ExternalView state)
      • getMatchName

        protected String getMatchName()