object ClusterSharding
- Source
- ClusterSharding.scala
- Alphabetic
- By Inheritance
- ClusterSharding
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- final case class Passivate[M](entity: ActorRef[M]) extends with Product with Serializable
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.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. - trait ShardCommand extends scaladsl.ClusterSharding.ShardCommand
When an entity is created an
ActorRef[ShardCommand]
is passed to the factory method.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.
- Annotations
- @DoNotInherit()
Value Members
- def get(system: ActorSystem[_]): ClusterSharding