Package org.apache.pekko.cluster.metrics
Class ClusterMetricsStrategy
java.lang.Object
org.apache.pekko.actor.SupervisorStrategy
org.apache.pekko.actor.OneForOneStrategy
org.apache.pekko.cluster.metrics.ClusterMetricsStrategy
- All Implemented Interfaces:
Serializable,scala.Equals,scala.Product
Default
ClusterMetricsSupervisor strategy:
A configurable pekko.actor.OneForOneStrategy with restart-on-throwable decider.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.pekko.actor.SupervisorStrategy
SupervisorStrategy.Directive, SupervisorStrategy.Escalate$, SupervisorStrategy.Restart$, SupervisorStrategy.Resume$, SupervisorStrategy.Stop$ -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic scala.PartialFunction<Throwable,SupervisorStrategy.Directive> pekko.actor.SupervisorStrategyDeciderwhich allows to survive intermittent Sigar native method calls failures.Methods inherited from class org.apache.pekko.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, withMaxNrOfRetriesMethods inherited from class org.apache.pekko.actor.SupervisorStrategy
defaultDecider, defaultStrategy, escalate, handleFailure, logFailure, makeDecider, makeDecider, makeDecider, makeDecider, restart, restart, restartChild, resume, resume, resumeChild, seqCauseDirective2Decider, seqThrowable2Decider, stop, stop, stoppingStrategyMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
ClusterMetricsStrategy
public ClusterMetricsStrategy(com.typesafe.config.Config config)
-
-
Method Details
-
metricsDecider
pekko.actor.SupervisorStrategyDeciderwhich allows to survive intermittent Sigar native method calls failures.
-