Package org.apache.pekko.actor.setup
Class ActorSystemSetup
- java.lang.Object
-
- org.apache.pekko.actor.setup.ActorSystemSetup
-
public final class ActorSystemSetup extends java.lang.ObjectA set of setup settings for programmatic configuration of the actor system.Constructor is *Internal API*. Use the factory methods
create(org.apache.pekko.actor.setup.Setup...)andapply(scala.collection.immutable.Seq<org.apache.pekko.actor.setup.Setup>)to create instances.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends Setup>
ActorSystemSetupand(T t)alias forwithSetupallowing for fluent combination of settings:a and b and c, wherea,bandcare concretepekko.actor.setup.Setupinstances.static ActorSystemSetupapply(scala.collection.immutable.Seq<Setup> settings)Scala API: Create anpekko.actor.setup.ActorSystemSetupcontaining all the provided settingsstatic ActorSystemSetupcreate(Setup... settings)Java API: Create anpekko.actor.setup.ActorSystemSetupcontaining all the provided settingsstatic ActorSystemSetupcreate(scala.collection.immutable.Seq<Setup> settings)Java API: Create anpekko.actor.setup.ActorSystemSetupcontaining all the provided settingsstatic ActorSystemSetupempty()<T extends Setup>
java.util.Optional<T>get(java.lang.Class<T> clazz)Java API: Extract a concretepekko.actor.setup.Setupof typeTif it is defined in the settings.<T extends Setup>
scala.Option<T>get(scala.reflect.ClassTag<T> evidence$1)Scala API: Extract a concretepekko.actor.setup.Setupof typeTif it is defined in the settings.java.lang.StringtoString()<T extends Setup>
ActorSystemSetupwithSetup(T t)Add a concretepekko.actor.setup.Setup.
-
-
-
Method Detail
-
create
public static ActorSystemSetup create(Setup... settings)
Java API: Create anpekko.actor.setup.ActorSystemSetupcontaining all the provided settings
-
empty
public static ActorSystemSetup empty()
-
apply
public static ActorSystemSetup apply(scala.collection.immutable.Seq<Setup> settings)
Scala API: Create anpekko.actor.setup.ActorSystemSetupcontaining all the provided settings
-
create
public static ActorSystemSetup create(scala.collection.immutable.Seq<Setup> settings)
Java API: Create anpekko.actor.setup.ActorSystemSetupcontaining all the provided settings
-
get
public <T extends Setup> java.util.Optional<T> get(java.lang.Class<T> clazz)
Java API: Extract a concretepekko.actor.setup.Setupof typeTif 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 concretepekko.actor.setup.Setupof typeTif it is defined in the settings.
-
withSetup
public <T extends Setup> ActorSystemSetup withSetup(T t)
Add a concretepekko.actor.setup.Setup. If a setting of the same concretepekko.actor.setup.Setupalready is present it will be replaced.
-
and
public <T extends Setup> ActorSystemSetup and(T t)
alias forwithSetupallowing for fluent combination of settings:a and b and c, wherea,bandcare concretepekko.actor.setup.Setupinstances. If a setting of the same concretepekko.actor.setup.Setupalready is present it will be replaced.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-