Package akka.cluster.sharding.typed
Class ReplicatedShardingExtension$
- java.lang.Object
-
- akka.actor.typed.ExtensionId<ReplicatedShardingExtension>
-
- akka.cluster.sharding.typed.ReplicatedShardingExtension$
-
public class ReplicatedShardingExtension$ extends ExtensionId<ReplicatedShardingExtension>
Extension for running Replicated Event Sourcing in sharding by starting one separate instance of sharding per replica. The sharding instances can be confined to datacenters or cluster roles or run on the same set of cluster nodes.
-
-
Field Summary
Fields Modifier and Type Field Description static ReplicatedShardingExtension$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description ReplicatedShardingExtension$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReplicatedShardingExtension
createExtension(ActorSystem<?> system)
Create the extension, will be invoked at most one time per actor system where the extension is registered.ReplicatedShardingExtension
get(ActorSystem<?> system)
-
Methods inherited from class akka.actor.typed.ExtensionId
apply, equals, hashCode, id
-
-
-
-
Field Detail
-
MODULE$
public static final ReplicatedShardingExtension$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
createExtension
public ReplicatedShardingExtension 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<ReplicatedShardingExtension>
-
get
public ReplicatedShardingExtension get(ActorSystem<?> system)
-
-