Class ActorSystemSetup


  • public final class ActorSystemSetup
    extends java.lang.Object
    A set of setup settings for programmatic configuration of the actor system.

    Constructor is *Internal API*. Use the factory methods create(akka.actor.setup.Setup...) and akka.actor.Actor#apply to create instances.

    • Method Detail

      • get

        public <T extends Setup> java.util.Optional<T> get​(java.lang.Class<T> clazz)
        Java API: Extract a concrete Setup of type T if it is defined in the settings.
      • get

        public <T extends Setup> scala.Option<T> get​(scala.reflect.ClassTag<T> evidence$1)
        Scala API: Extract a concrete Setup of type T if it is defined in the settings.
      • withSetup

        public <T extends SetupActorSystemSetup withSetup​(T t)
        Add a concrete Setup. If a setting of the same concrete Setup already is present it will be replaced.
      • and

        public <T extends SetupActorSystemSetup and​(T t)
        alias for withSetup allowing for fluent combination of settings: a and b and c, where a, b and c are concrete Setup instances. If a setting of the same concrete Setup already is present it will be replaced.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object