Package akka.actor.dungeon
Interface FaultHandling
-
public interface FaultHandling
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
FaultHandling.FailedInfo
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
_failed_$eq(FaultHandling.FailedInfo x$1)
void
clearFailed()
void
faultCreate()
Do create the actor in response to a failure.void
faultRecreate(java.lang.Throwable cause)
Do re-create the actor in response to a failure.void
faultResume(java.lang.Throwable causedByFailure)
Do resume the actor in response to a failure.void
faultSuspend()
Do suspend the actor in response to a failure of a parent (i.e.void
finishCreate()
void
finishRecreate(java.lang.Throwable cause)
void
finishTerminate()
void
handleChildTerminated(ActorRef child)
void
handleFailure(akka.dispatch.sysmsg.Failed f)
void
handleInvokeFailure(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)
boolean
isFailed()
boolean
isFailedFatally()
ActorRef
perpetrator()
void
resumeNonRecursive()
void
setFailed(ActorRef perpetrator)
void
setFailedFatally()
void
suspendNonRecursive()
void
terminate()
-
-
-
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)
-
-