Package akka.actor

Class BootstrapSetup$


  • public class BootstrapSetup$
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static BootstrapSetup$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      BootstrapSetup$()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      BootstrapSetup apply()  
      BootstrapSetup apply​(com.typesafe.config.Config config)
      Scala API: Short for using custom config but keeping default classloader and default execution context
      BootstrapSetup apply​(scala.Option<java.lang.ClassLoader> classLoader, scala.Option<com.typesafe.config.Config> config, scala.Option<scala.concurrent.ExecutionContext> defaultExecutionContext)
      Scala API: Create bootstrap settings needed for starting the actor system
      BootstrapSetup create()
      Java API: Construct a bootstrap settings with default values.
      BootstrapSetup create​(com.typesafe.config.Config config)
      Java API: Short for using custom config but keeping default classloader and default execution context
      BootstrapSetup create​(java.util.Optional<java.lang.ClassLoader> classLoader, java.util.Optional<com.typesafe.config.Config> config, java.util.Optional<scala.concurrent.ExecutionContext> defaultExecutionContext)
      Java API: Create bootstrap settings needed for starting the actor system
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MODULE$

        public static final BootstrapSetup$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • BootstrapSetup$

        public BootstrapSetup$()
    • Method Detail

      • apply

        public BootstrapSetup apply​(scala.Option<java.lang.ClassLoader> classLoader,
                                    scala.Option<com.typesafe.config.Config> config,
                                    scala.Option<scala.concurrent.ExecutionContext> defaultExecutionContext)
        Scala API: Create bootstrap settings needed for starting the actor system

      • apply

        public BootstrapSetup apply​(com.typesafe.config.Config config)
        Scala API: Short for using custom config but keeping default classloader and default execution context
      • create

        public BootstrapSetup create​(java.util.Optional<java.lang.ClassLoader> classLoader,
                                     java.util.Optional<com.typesafe.config.Config> config,
                                     java.util.Optional<scala.concurrent.ExecutionContext> defaultExecutionContext)
        Java API: Create bootstrap settings needed for starting the actor system

      • create

        public BootstrapSetup create​(com.typesafe.config.Config config)
        Java API: Short for using custom config but keeping default classloader and default execution context
      • create

        public BootstrapSetup create()
        Java API: Construct a bootstrap settings with default values. Note that passing that to the actor system is the same as not passing any BootstrapSetup at all. You can use the returned instance to derive one that has other values than defaults using the various with-methods.