Package akka.cluster.sharding.typed.scaladsl
-
Interface Summary Interface Description ClusterSharding This extension provides sharding functionality of actors in a cluster.ClusterSharding.ShardCommand When an entity is created anActorRef[ShardCommand]is passed to the factory method.EntityRef<M> A reference to an sharded Entity, which allowsActorRef-like usage.EntityTypeKey<T> The key of an entity type, thenamemust be unique.ShardedDaemonProcess This 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 theClusterSharding.Passivatemessage to theActorRef[ShardCommand]that was passed in to the factory method when creating the entity.ClusterSharding.Passivate$ ClusterSharding$ ClusterShardingSetup Can be used inActorSystemSetupwhen starting theActorSystemto replace the default implementation of theClusterShardingextension.ClusterShardingSetup$ Entity<M,E> Defines how the entity should be created.Entity$ EntityContext<M> Parameter tocreateBehaviorfunction inEntity.apply.EntityTypeKey$ ShardedDaemonProcess$ StartEntity Allows starting a specific Sharded Entity by its entity identifierStartEntity$ Allows starting a specific Sharded Entity by its entity identifier