akka.camel.internal
Class Registry.RegistryLogStrategy

java.lang.Object
  extended by akka.actor.SupervisorStrategy
      extended by akka.actor.OneForOneStrategy
          extended by akka.camel.internal.Registry.RegistryLogStrategy
All Implemented Interfaces:
java.io.Serializable, scala.Equals, scala.Product
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
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

Registry.RegistryLogStrategy

public Registry.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 when 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.

Overrides:
logFailure in class SupervisorStrategy
Parameters:
context - (undocumented)
child - (undocumented)
cause - (undocumented)
decision - (undocumented)