Package org.apache.pinot.common.utils
Class ServiceStatus.IdealStateAndExternalViewMatchServiceStatusCallback
- java.lang.Object
-
- org.apache.pinot.common.utils.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 Summary
Constructors Constructor Description IdealStateAndExternalViewMatchServiceStatusCallback(org.apache.helix.HelixManager helixManager, String clusterName, String instanceName, List<String> resourcesToMonitor, double minResourcesStartPercent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetMatchName()protected Map<String,String>getPartitionStateMap(org.apache.helix.model.ExternalView state)protected org.apache.helix.model.ExternalViewgetState(String resourceName)
-