Class ClusterHealthEvaluator


  • public class ClusterHealthEvaluator
    extends java.lang.Object
    Evaluates whether the cluster is healthy.
    • Constructor Detail

      • ClusterHealthEvaluator

        public ClusterHealthEvaluator​(java.time.Clock clock)
    • Method Detail

      • getLastValidClusterHealthInfo

        public static ClusterHealthInfo getLastValidClusterHealthInfo​(java.util.Map<java.lang.String,​java.lang.String> clusterInfo)
      • setLastValidClusterHealthInfo

        public static void setLastValidClusterHealthInfo​(java.util.Map<java.lang.String,​java.lang.String> clusterInfo,
                                                         ClusterHealthInfo clusterHealthInfo)
      • removeLastValidClusterHealthInfo

        public static void removeLastValidClusterHealthInfo​(java.util.Map<java.lang.String,​java.lang.String> clusterInfo)
      • evaluate

        public void evaluate​(org.apache.flink.configuration.Configuration configuration,
                             java.util.Map<java.lang.String,​java.lang.String> clusterInfo,
                             ClusterHealthInfo observedClusterHealthInfo)