When an entity is created an ActorRef[ShardCommand] is passed to the
factory method. The entity can request passivation by sending the Passivate
message to this ref. Sharding will then send back the specified
stopMessage message to the entity, which is then supposed to stop itself.
When an entity is created an
ActorRef[ShardCommand]
is passed to the factory method. The entity can request passivation by sending the Passivate 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.