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