Interface FaultHandling

    • Method Detail

      • suspendNonRecursive

        void suspendNonRecursive()
      • resumeNonRecursive

        void resumeNonRecursive()
      • isFailed

        boolean isFailed()
      • isFailedFatally

        boolean isFailedFatally()
      • 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​(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)