Interface Summary Interface Description ClusterSharding.ShardCommandWhen an entity is created an
ActorRef[ShardCommand]is passed to the factory method.
Class Summary Class Description ClusterShardingThis extension provides sharding functionality of actors in a cluster. ClusterSharding.Passivate<M>The entity can request passivation by sending the
ClusterSharding.Passivatemessage to the
ActorRef[ShardCommand]that was passed in to the factory method when creating the entity.
ClusterSharding.Passivate$ ClusterSharding$ Entity<M,E>Defines how the entity should be created. Entity$ EntityContext<M>Parameter to
EntityRef<M>A reference to an sharded Entity, which allows
EntityTypeKey<T>The key of an entity type, the
namemust be unique.
Behaviorcan be used as a sharded entity actor, but the combination of sharding and persistent actors is very common and therefore this
PersistentEntityclass is provided as convenience.
StartEntityAllows starting a specific Sharded Entity by its entity identifier StartEntity$Allows starting a specific Sharded Entity by its entity identifier