Class GuardianStartupBehavior<T>

  • public final class GuardianStartupBehavior<T>
    extends AbstractBehavior<java.lang.Object>

    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​(Behavior<T> guardianBehavior)