Class GuardianStartupBehavior


  • public class GuardianStartupBehavior
    extends java.lang.Object
    INTERNAL API

    Messages to the user provided guardian must be deferred while the actor system is starting up. This behavior delays starting the user provided behavior until the Start command is delivered from the actor system, and we know that the bootstrap is completed and the actor context can be accessed.

    • Constructor Detail

      • GuardianStartupBehavior

        public GuardianStartupBehavior()
    • Method Detail

      • apply

        public static <T> Behavior<java.lang.Object> apply​(Behavior<T> guardianBehavior)