Interface ClusterSharding.ShardCommand
- 
- All Superinterfaces:
 ClusterSharding.ShardCommand
- All Known Implementing Classes:
 ClusterSharding.Passivate,ClusterSharding.Passivate
- Enclosing class:
 - ClusterSharding
 
public static interface ClusterSharding.ShardCommand extends ClusterSharding.ShardCommand
When an entity is created anActorRef[ShardCommand]is passed to the factory method. The entity can request passivation by sending theClusterSharding.Passivatemessage to this ref. Sharding will then send back the specifiedstopMessagemessage to the entity, which is then supposed to stop itself.Not for user extension.