Package akka.actor

Interface UnrestrictedStash

    • Method Detail

      • postStop

        void postStop()
               throws java.lang.Exception
        Overridden callback. Prepends all messages in the stash to the mailbox and clears the stash. Must be called when overriding this method, otherwise stashed messages won't be propagated to DeadLetters when actor stops.
        Specified by:
        postStop in interface Actor
        Throws:
        java.lang.Exception
      • preRestart

        void preRestart​(java.lang.Throwable reason,
                        scala.Option<java.lang.Object> message)
                 throws java.lang.Exception
        Overridden callback. Prepends all messages in the stash to the mailbox, clears the stash, stops all children and invokes the postStop() callback.
        Specified by:
        preRestart in interface Actor
        Parameters:
        reason - (undocumented)
        message - (undocumented)
        Throws:
        java.lang.Exception
      • super$postStop

        void super$postStop()
        Overridden callback. Prepends all messages in the stash to the mailbox and clears the stash. Must be called when overriding this method, otherwise stashed messages won't be propagated to DeadLetters when actor stops.
      • super$preRestart

        void super$preRestart​(java.lang.Throwable reason,
                              scala.Option<java.lang.Object> message)