Package org.apache.pekko.actor.setup
Class ActorSystemSetup
java.lang.Object
org.apache.pekko.actor.setup.ActorSystemSetup
A 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...)
and apply(scala.collection.immutable.Seq<org.apache.pekko.actor.setup.Setup>)
to create
instances.
-
Method Summary
Modifier and TypeMethodDescription<T extends Setup>
ActorSystemSetupand
(T t) alias forwithSetup
allowing for fluent combination of settings:a and b and c
, wherea
,b
andc
are concretepekko.actor.setup.Setup
instances.static ActorSystemSetup
Scala API: Create anpekko.actor.setup.ActorSystemSetup
containing all the provided settingsstatic ActorSystemSetup
Java API: Create anpekko.actor.setup.ActorSystemSetup
containing all the provided settingsstatic ActorSystemSetup
Java API: Create anpekko.actor.setup.ActorSystemSetup
containing all the provided settingsstatic ActorSystemSetup
empty()
Java API: Extract a concretepekko.actor.setup.Setup
of typeT
if 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.Setup
of typeT
if it is defined in the settings.toString()
<T extends Setup>
ActorSystemSetupwithSetup
(T t) Add a concretepekko.actor.setup.Setup
.
-
Method Details
-
create
Java API: Create anpekko.actor.setup.ActorSystemSetup
containing all the provided settings -
empty
-
apply
Scala API: Create anpekko.actor.setup.ActorSystemSetup
containing all the provided settings -
create
Java API: Create anpekko.actor.setup.ActorSystemSetup
containing all the provided settings -
get
Java API: Extract a concretepekko.actor.setup.Setup
of typeT
if it is defined in the settings. -
get
Scala API: Extract a concretepekko.actor.setup.Setup
of typeT
if it is defined in the settings. -
withSetup
Add a concretepekko.actor.setup.Setup
. If a setting of the same concretepekko.actor.setup.Setup
already is present it will be replaced. -
and
alias forwithSetup
allowing for fluent combination of settings:a and b and c
, wherea
,b
andc
are concretepekko.actor.setup.Setup
instances. If a setting of the same concretepekko.actor.setup.Setup
already is present it will be replaced. -
toString
-