Package akka.cluster.typed
Class ClusterSingleton$
- java.lang.Object
-
- akka.actor.typed.ExtensionId<ClusterSingleton>
-
- akka.cluster.typed.ClusterSingleton$
-
public class ClusterSingleton$ extends ExtensionId<ClusterSingleton>
-
-
Field Summary
Fields Modifier and Type Field Description static ClusterSingleton$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description ClusterSingleton$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterSingleton
createExtension(ActorSystem<?> system)
Create the extension, will be invoked at most one time per actor system where the extension is registered.ClusterSingleton
get(ActorSystem<?> system)
Java API:-
Methods inherited from class akka.actor.typed.ExtensionId
apply, equals, hashCode, id
-
-
-
-
Field Detail
-
MODULE$
public static final ClusterSingleton$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
createExtension
public ClusterSingleton createExtension(ActorSystem<?> system)
Description copied from class:ExtensionId
Create the extension, will be invoked at most one time per actor system where the extension is registered.- Specified by:
createExtension
in classExtensionId<ClusterSingleton>
-
get
public ClusterSingleton get(ActorSystem<?> system)
Java API:
-
-