public class ClusterMetricsStrategy extends OneForOneStrategy
ClusterMetricsSupervisor strategy:
A configurable OneForOneStrategy with restart-on-throwable decider.SupervisorStrategy.Directive, SupervisorStrategy.Escalate$, SupervisorStrategy.Restart$, SupervisorStrategy.Resume$, SupervisorStrategy.Stop$| Constructor and Description |
|---|
ClusterMetricsStrategy(com.typesafe.config.Config config) |
| Modifier and Type | Method and Description |
|---|---|
static scala.PartialFunction<java.lang.Throwable,SupervisorStrategy.Directive> |
metricsDecider()
SupervisorStrategy Decider which allows to survive intermittent Sigar native method calls failures. |
decider, handleChildTerminated, loggingEnabled, maxNrOfRetries, processFailure, withinTimeRangedefaultDecider, defaultStrategy, escalate, escalateDefault, handleFailure, logFailure, makeDecider, makeDecider, makeDecider, makeDecider, maxNrOfRetriesOption, restart, restartChild, resume, resumeChild, seqThrowable2Decider, sort, stop, stoppingStrategy, withinTimeRangeOptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic ClusterMetricsStrategy(com.typesafe.config.Config config)
public static scala.PartialFunction<java.lang.Throwable,SupervisorStrategy.Directive> metricsDecider()
SupervisorStrategy Decider which allows to survive intermittent Sigar native method calls failures.