Class ClusterMetricsStrategy

    • Constructor Detail

      • ClusterMetricsStrategy

        public ClusterMetricsStrategy​(com.typesafe.config.Config config)
    • Method Detail

      • metricsDecider

        public static scala.PartialFunction<java.lang.Throwable,​SupervisorStrategy.Directive> metricsDecider()
        SupervisorStrategy Decider which allows to survive intermittent Sigar native method calls failures.
        Returns:
        (undocumented)
      • resumeChild

        public static final void resumeChild​(ActorRef child,
                                             java.lang.Throwable cause)
      • restartChild

        public static final void restartChild​(ActorRef child,
                                              java.lang.Throwable cause,
                                              boolean suspendFirst)
      • maxNrOfRetries

        public static int maxNrOfRetries()
      • withinTimeRange

        public static scala.concurrent.duration.Duration withinTimeRange()
      • loggingEnabled

        public static boolean loggingEnabled()
      • withMaxNrOfRetries

        public static OneForOneStrategy withMaxNrOfRetries​(int maxNrOfRetries)
      • handleChildTerminated

        public static void handleChildTerminated​(ActorContext context,
                                                 ActorRef child,
                                                 scala.collection.Iterable<ActorRef> children)
      • copy

        public static OneForOneStrategy copy​(int maxNrOfRetries,
                                             scala.concurrent.duration.Duration withinTimeRange,
                                             boolean loggingEnabled,
                                             scala.PartialFunction<java.lang.Throwable,​SupervisorStrategy.Directive> decider)
      • copy$default$1

        public static int copy$default$1()
      • copy$default$2

        public static scala.concurrent.duration.Duration copy$default$2()
      • copy$default$3

        public static boolean copy$default$3()
      • productPrefix

        public static java.lang.String productPrefix()
      • productArity

        public static int productArity()
      • productElement

        public static java.lang.Object productElement​(int x$1)
      • productIterator

        public static scala.collection.Iterator<java.lang.Object> productIterator()
      • canEqual

        public static boolean canEqual​(java.lang.Object x$1)
      • hashCode

        public static int hashCode()
      • toString

        public static java.lang.String toString()
      • equals

        public static boolean equals​(java.lang.Object x$1)