Package org.apache.pekko.actor
Class BootstrapSetup$
java.lang.Object
org.apache.pekko.actor.BootstrapSetup$
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BootstrapSetup$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply()apply(com.typesafe.config.Config config) Scala API: Short for using custom config but keeping default classloader and default execution contextapply(scala.Option<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 systemcreate()Java API: Construct a bootstrap settings with default values.create(com.typesafe.config.Config config) Java API: Short for using custom config but keeping default classloader and default execution contextcreate(Optional<ClassLoader> classLoader, Optional<com.typesafe.config.Config> config, Optional<scala.concurrent.ExecutionContext> defaultExecutionContext) Java API: Create bootstrap settings needed for starting the actor system
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
BootstrapSetup$
public BootstrapSetup$()
-
-
Method Details
-
apply
-
apply
public BootstrapSetup apply(scala.Option<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
Scala API: Short for using custom config but keeping default classloader and default execution context -
create
public BootstrapSetup create(Optional<ClassLoader> classLoader, Optional<com.typesafe.config.Config> config, Optional<scala.concurrent.ExecutionContext> defaultExecutionContext) Java API: Create bootstrap settings needed for starting the actor system -
create
Java API: Short for using custom config but keeping default classloader and default execution context -
create
Java API: Construct a bootstrap settings with default values. Note that passing that to the actor system is the same as not passing anyBootstrapSetupat all. You can use the returned instance to derive one that has other values than defaults using the variouswith-methods.
-