Package akka.cluster.typed
Class SingletonActor$
- java.lang.Object
-
- akka.cluster.typed.SingletonActor$
-
public class SingletonActor$ extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static SingletonActor$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description SingletonActor$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <M> SingletonActor<M>
apply(Behavior<M> behavior, java.lang.String name)
<M> SingletonActor<M>
of(Behavior<M> behavior, java.lang.String name)
Java API
-
-
-
Field Detail
-
MODULE$
public static final SingletonActor$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
apply
public <M> SingletonActor<M> apply(Behavior<M> behavior, java.lang.String name)
- Parameters:
name
- Unique name for the singletonbehavior
- Behavior for the singleton
-
of
public <M> SingletonActor<M> of(Behavior<M> behavior, java.lang.String name)
Java API- Parameters:
name
- Unique name for the singletonbehavior
- Behavior for the singleton
-
-