Interface TypedActor.PostRestart

  • Enclosing class:
    TypedActor

    public static interface TypedActor.PostRestart
    • Method Detail

      • postRestart

        void postRestart​(java.lang.Throwable reason)
        User overridable callback: By default it calls preStart().
        Parameters:
        reason - the Throwable that caused the restart to happen

        Is called right AFTER restart on the newly created Actor to allow reinitialization after an Actor crash.