Package org.apache.pekko.actor.typed
Class ActorSystem$
java.lang.Object
org.apache.pekko.actor.typed.ActorSystem$
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ActorSystem$Static reference to the singleton instance of this Scala object. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> ActorSystem<T>Scala API: Create an ActorSystem<T> ActorSystem<T>Scala API: Create an ActorSystem<T> ActorSystem<T>apply(Behavior<T> guardianBehavior, String name, com.typesafe.config.Config config, Props guardianProps) Scala API: Create an ActorSystem<T> ActorSystem<T>apply(Behavior<T> guardianBehavior, String name, BootstrapSetup bootstrapSetup) Scala API: Shortcut for creating an actor system with custom bootstrap settings.<T> ActorSystem<T>apply(Behavior<T> guardianBehavior, String name, ActorSystemSetup setup, Props guardianProps) Scala API: Creates a new actor system with the specified name and settings The core actor system settings are defined inBootstrapSetup<T> Props<T> ActorSystem<T>Java API: Create an ActorSystem<T> ActorSystem<T>Java API: Create an ActorSystem<T> ActorSystem<T>create(Behavior<T> guardianBehavior, String name, com.typesafe.config.Config config, Props guardianProps) Java API: Create an ActorSystem<T> ActorSystem<T>create(Behavior<T> guardianBehavior, String name, BootstrapSetup bootstrapSetup) Java API: Shortcut for creating an actor system with custom bootstrap settings.<T> ActorSystem<T>create(Behavior<T> guardianBehavior, String name, ActorSystemSetup setups) Java API: Creates a new actor system with the specified name and settings The core actor system settings are defined inBootstrapSetupActorSystem<scala.runtime.Nothing$>wrap(ActorSystem system) Wrap a classicpekko.actor.ActorSystemsuch that it can be used from Pekko TypedBehavior.
-
Field Details
-
MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Constructor Details
-
ActorSystem$
public ActorSystem$()
-
-
Method Details
-
apply
Scala API: Create an ActorSystem -
apply
public <T> ActorSystem<T> apply(Behavior<T> guardianBehavior, String name, com.typesafe.config.Config config) Scala API: Create an ActorSystem -
apply
public <T> ActorSystem<T> apply(Behavior<T> guardianBehavior, String name, com.typesafe.config.Config config, Props guardianProps) Scala API: Create an ActorSystem -
apply
public <T> ActorSystem<T> apply(Behavior<T> guardianBehavior, String name, ActorSystemSetup setup, Props guardianProps) Scala API: Creates a new actor system with the specified name and settings The core actor system settings are defined inBootstrapSetup -
apply
public <T> ActorSystem<T> apply(Behavior<T> guardianBehavior, String name, BootstrapSetup bootstrapSetup) Scala API: Shortcut for creating an actor system with custom bootstrap settings. Same behavior as callingActorSystem(name, ActorSystemSetup(bootstrapSetup)) -
apply$default$4
-
create
Java API: Create an ActorSystem -
create
public <T> ActorSystem<T> create(Behavior<T> guardianBehavior, String name, com.typesafe.config.Config config) Java API: Create an ActorSystem -
create
public <T> ActorSystem<T> create(Behavior<T> guardianBehavior, String name, com.typesafe.config.Config config, Props guardianProps) Java API: Create an ActorSystem -
create
public <T> ActorSystem<T> create(Behavior<T> guardianBehavior, String name, ActorSystemSetup setups) Java API: Creates a new actor system with the specified name and settings The core actor system settings are defined inBootstrapSetup -
create
public <T> ActorSystem<T> create(Behavior<T> guardianBehavior, String name, BootstrapSetup bootstrapSetup) Java API: Shortcut for creating an actor system with custom bootstrap settings. Same behavior as callingActorSystem.create(name, ActorSystemSetup.create(bootstrapSettings)) -
wrap
Wrap a classicpekko.actor.ActorSystemsuch that it can be used from Pekko TypedBehavior.
-