Interface Summary Interface Description ClusterShardingThis extension provides sharding functionality of actors in a cluster. ClusterSharding.ShardCommandWhen an entity is created an
ActorRef[ShardCommand]is passed to the factory method.
EntityRef<M>A reference to an sharded Entity, which allows
EntityTypeKey<T>The key of an entity type, the
namemust be unique.
ShardedDaemonProcessThis extension runs a pre set number of actors in a cluster.
Class Summary Class Description 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$ ClusterShardingSetupCan be used in
ActorSystemSetupwhen starting the
ActorSystemto replace the default implementation of the
ClusterShardingSetup$ Entity<M,E>Defines how the entity should be created. Entity$ EntityContext<M>Parameter to
EntityTypeKey$ ShardedDaemonProcess$ StartEntityAllows starting a specific Sharded Entity by its entity identifier StartEntity$Allows starting a specific Sharded Entity by its entity identifier