object ClusterSharding extends ExtensionId[ClusterSharding]

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

Type Members

  1. final case class Passivate[M](entity: ActorRef[M]) extends with 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 AnyRef

    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. final def apply(system: ActorSystem[_]): ClusterSharding

    Lookup or create an instance of the extension identified by this id.

    Lookup or create an instance of the extension identified by this id.

    Definition Classes
    ExtensionId
  2. def createExtension(system: ActorSystem[_]): ClusterSharding

    Create the extension, will be invoked at most one time per actor system where the extension is registered.

    Create the extension, will be invoked at most one time per actor system where the extension is registered.

    Definition Classes
    ExtensionId
  3. final def equals(other: Any): Boolean
    Definition Classes
    ExtensionId → AnyRef → Any
  4. final def hashCode(): Int
    Definition Classes
    ExtensionId → AnyRef → Any
  5. def id: [ClusterSharding]

    Java API: The identifier of the extension

    Java API: The identifier of the extension

    Definition Classes
    ExtensionId