Package akka.actor

Interface UnrestrictedStash

    • Method Detail

      • postStop

        void 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.
        Specified by:
        postStop in interface Actor
      • preRestart

        void preRestart​(java.lang.Throwable reason,
                        scala.Option<java.lang.Object> message)
        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)
      • 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)