Package akka.actor.dungeon
Interface FaultHandling
-
public interface FaultHandling
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceFaultHandling.FailedInfo
-
Method Summary
All 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
-
suspendNonRecursive
void suspendNonRecursive()
-
resumeNonRecursive
void resumeNonRecursive()
-
_failed_$eq
void _failed_$eq(FaultHandling.FailedInfo x$1)
-
isFailed
boolean isFailed()
-
isFailedFatally
boolean isFailedFatally()
-
perpetrator
ActorRef perpetrator()
-
setFailed
void setFailed(ActorRef perpetrator)
-
clearFailed
void clearFailed()
-
setFailedFatally
void setFailedFatally()
-
faultRecreate
void faultRecreate(java.lang.Throwable cause)
Do re-create the actor in response to a failure.
-
faultSuspend
void faultSuspend()
Do suspend the actor in response to a failure of a parent (i.e. the “recursive suspend” feature).
-
faultResume
void 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.
-
faultCreate
void faultCreate()
Do create the actor in response to a failure.
-
finishCreate
void finishCreate()
-
terminate
void terminate()
-
handleInvokeFailure
void handleInvokeFailure(scala.collection.immutable.Iterable<ActorRef> childrenNotToSuspend, java.lang.Throwable t)
-
finishTerminate
void finishTerminate()
-
finishRecreate
void finishRecreate(java.lang.Throwable cause)
-
handleFailure
void handleFailure(akka.dispatch.sysmsg.Failed f)
-
handleChildTerminated
void handleChildTerminated(ActorRef child)
-
handleNonFatalOrInterruptedException
scala.PartialFunction<java.lang.Throwable,scala.runtime.BoxedUnit> handleNonFatalOrInterruptedException(scala.Function1<java.lang.Throwable,scala.runtime.BoxedUnit> thunk)
-
-