Package akka.actor.dungeon
Interface FaultHandling
- 
 public interface FaultHandling
- 
- 
Nested Class SummaryNested Classes Modifier and Type Interface Description static interfaceFaultHandling.FailedInfo
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description void_failed_$eq(FaultHandling.FailedInfo x$1)voidclearFailed()voidfaultCreate()Do create the actor in response to a failure.voidfaultRecreate(java.lang.Throwable cause)Do re-create the actor in response to a failure.voidfaultResume(java.lang.Throwable causedByFailure)Do resume the actor in response to a failure.voidfaultSuspend()Do suspend the actor in response to a failure of a parent (i.e.voidfinishCreate()voidfinishRecreate(java.lang.Throwable cause)voidfinishTerminate()voidhandleChildTerminated(ActorRef child)voidhandleFailure(akka.dispatch.sysmsg.Failed f)voidhandleInvokeFailure(scala.collection.immutable.Iterable<ActorRef> childrenNotToSuspend, java.lang.Throwable t)scala.PartialFunction<java.lang.Throwable,scala.runtime.BoxedUnit>handleNonFatalOrInterruptedException(scala.Function1<java.lang.Throwable,scala.runtime.BoxedUnit> thunk)booleanisFailed()booleanisFailedFatally()ActorRefperpetrator()voidresumeNonRecursive()voidsetFailed(ActorRef perpetrator)voidsetFailedFatally()voidsuspendNonRecursive()voidterminate()
 
- 
- 
- 
Method Detail- 
suspendNonRecursivevoid suspendNonRecursive() 
 - 
resumeNonRecursivevoid resumeNonRecursive() 
 - 
_failed_$eqvoid _failed_$eq(FaultHandling.FailedInfo x$1) 
 - 
isFailedboolean isFailed() 
 - 
isFailedFatallyboolean isFailedFatally() 
 - 
perpetratorActorRef perpetrator() 
 - 
setFailedvoid setFailed(ActorRef perpetrator) 
 - 
clearFailedvoid clearFailed() 
 - 
setFailedFatallyvoid setFailedFatally() 
 - 
faultRecreatevoid faultRecreate(java.lang.Throwable cause) Do re-create the actor in response to a failure.
 - 
faultSuspendvoid faultSuspend() Do suspend the actor in response to a failure of a parent (i.e. the “recursive suspend” feature).
 - 
faultResumevoid faultResume(java.lang.Throwable causedByFailure) Do resume the actor in response to a failure.- Parameters:
- causedByFailure- signifies if it was our own failure which prompted this action.
 
 - 
faultCreatevoid faultCreate() Do create the actor in response to a failure.
 - 
finishCreatevoid finishCreate() 
 - 
terminatevoid terminate() 
 - 
handleInvokeFailurevoid handleInvokeFailure(scala.collection.immutable.Iterable<ActorRef> childrenNotToSuspend, java.lang.Throwable t) 
 - 
finishTerminatevoid finishTerminate() 
 - 
finishRecreatevoid finishRecreate(java.lang.Throwable cause) 
 - 
handleFailurevoid handleFailure(akka.dispatch.sysmsg.Failed f) 
 - 
handleChildTerminatedvoid handleChildTerminated(ActorRef child) 
 - 
handleNonFatalOrInterruptedExceptionscala.PartialFunction<java.lang.Throwable,scala.runtime.BoxedUnit> handleNonFatalOrInterruptedException(scala.Function1<java.lang.Throwable,scala.runtime.BoxedUnit> thunk) 
 
- 
 
-