Package akka.actor.typed
Class ActorSystem$
- java.lang.Object
-
- akka.actor.typed.ActorSystem$
-
- All Implemented Interfaces:
java.io.Serializable
public class ActorSystem$ extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static ActorSystem$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description ActorSystem$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> ActorSystem<T>
apply(Behavior<T> guardianBehavior, java.lang.String name)
Scala API: Create an ActorSystem<T> ActorSystem<T>
apply(Behavior<T> guardianBehavior, java.lang.String name, BootstrapSetup bootstrapSetup)
Scala API: Shortcut for creating an actor system with custom bootstrap settings.<T> ActorSystem<T>
apply(Behavior<T> guardianBehavior, java.lang.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> ActorSystem<T>
apply(Behavior<T> guardianBehavior, java.lang.String name, com.typesafe.config.Config config)
Scala API: Create an ActorSystem<T> ActorSystem<T>
apply(Behavior<T> guardianBehavior, java.lang.String name, com.typesafe.config.Config config, Props guardianProps)
Scala API: Create an ActorSystem<T> Props
apply$default$4()
<T> ActorSystem<T>
create(Behavior<T> guardianBehavior, java.lang.String name)
Java API: Create an ActorSystem<T> ActorSystem<T>
create(Behavior<T> guardianBehavior, java.lang.String name, BootstrapSetup bootstrapSetup)
Java API: Shortcut for creating an actor system with custom bootstrap settings.<T> ActorSystem<T>
create(Behavior<T> guardianBehavior, java.lang.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
<T> ActorSystem<T>
create(Behavior<T> guardianBehavior, java.lang.String name, com.typesafe.config.Config config)
Java API: Create an ActorSystem<T> ActorSystem<T>
create(Behavior<T> guardianBehavior, java.lang.String name, com.typesafe.config.Config config, Props guardianProps)
Java API: Create an ActorSystemActorSystem<scala.runtime.Nothing$>
wrap(ActorSystem system)
Wrap a classicActorSystem
such that it can be used from Akka TypedBehavior
.
-
-
-
Field Detail
-
MODULE$
public static final ActorSystem$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
apply
public <T> ActorSystem<T> apply(Behavior<T> guardianBehavior, java.lang.String name)
Scala API: Create an ActorSystem
-
apply
public <T> ActorSystem<T> apply(Behavior<T> guardianBehavior, java.lang.String name, com.typesafe.config.Config config)
Scala API: Create an ActorSystem
-
apply
public <T> ActorSystem<T> apply(Behavior<T> guardianBehavior, java.lang.String name, com.typesafe.config.Config config, Props guardianProps)
Scala API: Create an ActorSystem
-
apply
public <T> ActorSystem<T> apply(Behavior<T> guardianBehavior, java.lang.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, java.lang.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
public <T> Props apply$default$4()
-
create
public <T> ActorSystem<T> create(Behavior<T> guardianBehavior, java.lang.String name)
Java API: Create an ActorSystem
-
create
public <T> ActorSystem<T> create(Behavior<T> guardianBehavior, java.lang.String name, com.typesafe.config.Config config)
Java API: Create an ActorSystem
-
create
public <T> ActorSystem<T> create(Behavior<T> guardianBehavior, java.lang.String name, com.typesafe.config.Config config, Props guardianProps)
Java API: Create an ActorSystem
-
create
public <T> ActorSystem<T> create(Behavior<T> guardianBehavior, java.lang.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, java.lang.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
public ActorSystem<scala.runtime.Nothing$> wrap(ActorSystem system)
Wrap a classicActorSystem
such that it can be used from Akka TypedBehavior
.
-
-