public class ActorSystem$
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ActorSystem$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
ActorSystem$() |
Modifier and Type | Method and Description |
---|---|
<T> ActorSystem<T> |
adapter(java.lang.String name,
Behavior<T> guardianBehavior,
DeploymentConfig guardianDeployment,
scala.Option<com.typesafe.config.Config> config,
scala.Option<java.lang.ClassLoader> classLoader,
scala.Option<scala.concurrent.ExecutionContext> executionContext,
ActorSystemSetup actorSystemSettings)
Create an ActorSystem based on the untyped
ActorSystem
which runs Akka Typed Behavior on an emulation layer. |
<T> ActorSystem<T> |
apply(java.lang.String name,
Behavior<T> guardianBehavior,
DeploymentConfig guardianDeployment,
scala.Option<com.typesafe.config.Config> config,
scala.Option<java.lang.ClassLoader> classLoader,
scala.Option<scala.concurrent.ExecutionContext> executionContext)
|
ActorSystem<scala.runtime.Nothing$> |
wrap(ActorSystem untyped)
Wrap an untyped
ActorSystem such that it can be used from
Akka Typed Behavior . |
public static final ActorSystem$ MODULE$
public <T> ActorSystem<T> apply(java.lang.String name, Behavior<T> guardianBehavior, DeploymentConfig guardianDeployment, scala.Option<com.typesafe.config.Config> config, scala.Option<java.lang.ClassLoader> classLoader, scala.Option<scala.concurrent.ExecutionContext> executionContext)
Behavior
hierarchies—this system cannot run untyped
Actor
instances.name
- (undocumented)guardianBehavior
- (undocumented)guardianDeployment
- (undocumented)config
- (undocumented)classLoader
- (undocumented)executionContext
- (undocumented)public <T> ActorSystem<T> adapter(java.lang.String name, Behavior<T> guardianBehavior, DeploymentConfig guardianDeployment, scala.Option<com.typesafe.config.Config> config, scala.Option<java.lang.ClassLoader> classLoader, scala.Option<scala.concurrent.ExecutionContext> executionContext, ActorSystemSetup actorSystemSettings)
ActorSystem
which runs Akka Typed Behavior
on an emulation layer. In this
system typed and untyped actors can coexist.name
- (undocumented)guardianBehavior
- (undocumented)guardianDeployment
- (undocumented)config
- (undocumented)classLoader
- (undocumented)executionContext
- (undocumented)actorSystemSettings
- (undocumented)public ActorSystem<scala.runtime.Nothing$> wrap(ActorSystem untyped)
ActorSystem
such that it can be used from
Akka Typed Behavior
.untyped
- (undocumented)