Package akka.cluster.metrics
Class ClusterMetricsStrategy
- java.lang.Object
-
- akka.actor.SupervisorStrategy
-
- akka.actor.OneForOneStrategy
-
- akka.cluster.metrics.ClusterMetricsStrategy
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
public class ClusterMetricsStrategy extends OneForOneStrategy
DefaultClusterMetricsSupervisor
strategy: A configurableOneForOneStrategy
with restart-on-throwable decider.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class akka.actor.SupervisorStrategy
SupervisorStrategy.Directive, SupervisorStrategy.Escalate$, SupervisorStrategy.Restart$, SupervisorStrategy.Resume$, SupervisorStrategy.Stop$
-
-
Constructor Summary
Constructors Constructor Description ClusterMetricsStrategy(com.typesafe.config.Config config)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static scala.PartialFunction<java.lang.Throwable,SupervisorStrategy.Directive>
metricsDecider()
SupervisorStrategy
Decider
which allows to survive intermittent Sigar native method calls failures.-
Methods inherited from class akka.actor.OneForOneStrategy
$lessinit$greater$default$1, $lessinit$greater$default$2, $lessinit$greater$default$3, apply, apply$default$1, apply$default$2, apply$default$3, canEqual, copy, copy$default$1, copy$default$2, copy$default$3, decider, equals, handleChildTerminated, hashCode, loggingEnabled, maxNrOfRetries, processFailure, productArity, productElement, productElementName, productIterator, productPrefix, toString, unapply, withinTimeRange, withMaxNrOfRetries
-
Methods inherited from class akka.actor.SupervisorStrategy
defaultDecider, defaultStrategy, escalate, handleFailure, logFailure, makeDecider, makeDecider, makeDecider, makeDecider, restart, restart, restartChild, resume, resume, resumeChild, seqCauseDirective2Decider, seqThrowable2Decider, stop, stop, stoppingStrategy
-
-
-
-
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.
-
-