Class ClusterSharding$
- java.lang.Object
-
- akka.actor.typed.ExtensionId<ClusterSharding>
-
- akka.cluster.sharding.typed.scaladsl.ClusterSharding$
-
public class ClusterSharding$ extends ExtensionId<ClusterSharding>
When an entity is created anActorRef[ShardCommand]
is passed to the factory method. The entity can request passivation by sending thePassivate
message to this ref. Sharding will then send back the specifiedstopMessage
message to the entity, which is then supposed to stop itself.Not for user extension.
-
-
Field Summary
Fields Modifier and Type Field Description static ClusterSharding$
MODULE$
Static reference to the singleton instance of this Scala object.
-
Constructor Summary
Constructors Constructor Description ClusterSharding$()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClusterSharding
createExtension(ActorSystem<?> system)
-
Methods inherited from class akka.actor.typed.ExtensionId
apply, equals, hashCode, id
-
-
-
-
Field Detail
-
MODULE$
public static final ClusterSharding$ MODULE$
Static reference to the singleton instance of this Scala object.
-
-
Method Detail
-
createExtension
public ClusterSharding createExtension(ActorSystem<?> system)
- Specified by:
createExtension
in classExtensionId<ClusterSharding>
-
-