Package akka.camel.internal
Class Registry.RegistryLogStrategy
- java.lang.Object
-
- akka.actor.SupervisorStrategy
-
- akka.actor.OneForOneStrategy
-
- akka.camel.internal.Registry.RegistryLogStrategy
-
- All Implemented Interfaces:
java.io.Serializable
,scala.Equals
,scala.Product
,scala.Serializable
- Enclosing class:
- Registry
public class Registry.RegistryLogStrategy extends OneForOneStrategy
- 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 RegistryLogStrategy(scala.PartialFunction<java.lang.Throwable,SupervisorStrategy.Directive> _decider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
logFailure(ActorContext context, ActorRef child, java.lang.Throwable cause, SupervisorStrategy.Directive decision)
Default logging of actor failures whenSupervisorStrategy.loggingEnabled()
istrue
.-
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, productIterator, productPrefix, toString, unapply, withinTimeRange, withMaxNrOfRetries
-
Methods inherited from class akka.actor.SupervisorStrategy
defaultDecider, defaultStrategy, escalate, escalateDefault, handleFailure, makeDecider, makeDecider, makeDecider, makeDecider, maxNrOfRetriesOption, restart, restartChild, resume, resumeChild, seqCauseDirective2Decider, seqThrowable2Decider, sort, stop, stoppingStrategy, withinTimeRangeOption
-
-
-
-
Constructor Detail
-
RegistryLogStrategy
public RegistryLogStrategy(scala.PartialFunction<java.lang.Throwable,SupervisorStrategy.Directive> _decider)
-
-
Method Detail
-
logFailure
public void logFailure(ActorContext context, ActorRef child, java.lang.Throwable cause, SupervisorStrategy.Directive decision)
Description copied from class:SupervisorStrategy
Default logging of actor failures whenSupervisorStrategy.loggingEnabled()
istrue
.Escalate
failures are not logged here, since they are supposed to be handled at a level higher up in the hierarchy.Resume
failures are logged atWarning
level.Stop
andRestart
failures are logged atError
level.- Overrides:
logFailure
in classSupervisorStrategy
- Parameters:
context
- (undocumented)child
- (undocumented)cause
- (undocumented)decision
- (undocumented)
-
-