The entity can request passivation by sending the Passivate message
to the ActorRef[ShardCommand] that was passed in to the factory method
when creating the entity. Sharding will then send back the specified
stopMessage message to the entity, which is then supposed to stop
itself.
The entity can request passivation by sending the Passivate message to the
ActorRef[ShardCommand]
that was passed in to the factory method when creating the entity. Sharding will then send back the specifiedstopMessage
message to the entity, which is then supposed to stop itself.