|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object akka.actor.SupervisorStrategy akka.actor.OneForOneStrategy akka.camel.internal.Registry.RegistryLogStrategy
public class Registry.RegistryLogStrategy
Nested Class Summary |
---|
Nested classes/interfaces inherited from class akka.actor.SupervisorStrategy |
---|
SupervisorStrategy.Directive, SupervisorStrategy.Escalate$, SupervisorStrategy.Restart$, SupervisorStrategy.Resume$, SupervisorStrategy.Stop$ |
Constructor Summary | |
---|---|
Registry.RegistryLogStrategy(scala.PartialFunction<java.lang.Throwable,SupervisorStrategy.Directive> _decider)
|
Method Summary | |
---|---|
void |
logFailure(ActorContext context,
ActorRef child,
java.lang.Throwable cause,
SupervisorStrategy.Directive decision)
Default logging of actor failures when SupervisorStrategy.loggingEnabled() is true . |
Methods inherited from class akka.actor.OneForOneStrategy |
---|
decider, handleChildTerminated, loggingEnabled, maxNrOfRetries, processFailure, withinTimeRange |
Methods inherited from class akka.actor.SupervisorStrategy |
---|
defaultDecider, defaultStrategy, escalate, escalateDefault, handleFailure, makeDecider, makeDecider, makeDecider, makeDecider, maxNrOfRetriesOption, restart, restartChild, resume, resumeChild, seqThrowable2Decider, sort, stop, stoppingStrategy, withinTimeRangeOption |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface scala.Product |
---|
productArity, productElement, productIterator, productPrefix |
Methods inherited from interface scala.Equals |
---|
canEqual, equals |
Constructor Detail |
---|
public Registry.RegistryLogStrategy(scala.PartialFunction<java.lang.Throwable,SupervisorStrategy.Directive> _decider)
Method Detail |
---|
public void logFailure(ActorContext context, ActorRef child, java.lang.Throwable cause, SupervisorStrategy.Directive decision)
SupervisorStrategy
SupervisorStrategy.loggingEnabled()
is true
.
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 at Warning
level.
Stop
and Restart
failures are logged at Error
level.
logFailure
in class SupervisorStrategy
context
- (undocumented)child
- (undocumented)cause
- (undocumented)decision
- (undocumented)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |