public interface FaultHandling
Modifier and Type | Method and Description |
---|---|
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,
Actor failedActor) |
void |
finishTerminate() |
void |
handleChildTerminated(ActorRef child) |
void |
handleFailure(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() |
ActorRef |
perpetrator() |
void |
resumeNonRecursive() |
void |
setFailed(ActorRef perpetrator) |
void |
suspendNonRecursive() |
void |
terminate() |
void suspendNonRecursive()
void resumeNonRecursive()
boolean isFailed()
void setFailed(ActorRef perpetrator)
void clearFailed()
ActorRef perpetrator()
void faultRecreate(java.lang.Throwable cause)
cause
- (undocumented)void faultSuspend()
void faultResume(java.lang.Throwable causedByFailure)
causedByFailure
- signifies if it was our own failure which
prompted this action.void faultCreate()
void finishCreate()
void terminate()
void handleInvokeFailure(scala.collection.immutable.Iterable<ActorRef> childrenNotToSuspend, java.lang.Throwable t)
void finishTerminate()
void finishRecreate(java.lang.Throwable cause, Actor failedActor)
void handleFailure(Failed f)
void handleChildTerminated(ActorRef child)
scala.PartialFunction<java.lang.Throwable,scala.runtime.BoxedUnit> handleNonFatalOrInterruptedException(scala.Function1<java.lang.Throwable,scala.runtime.BoxedUnit> thunk)