Packages

object ClusterSharding

Source
ClusterSharding.scala
Linear Supertypes
Content Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClusterSharding
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final case class Passivate[M](entity: ActorRef[M]) extends ShardCommand 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 specified stopMessage message to the entity, which is then supposed to stop itself.

  2. 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 specified stopMessage message to the entity, which is then supposed to stop itself.

    Not for user extension.

    Annotations
    @DoNotInherit()

Value Members

  1. def get(system: ActorSystem[_]): ClusterSharding