object ClusterSharding extends ExtensionId[ClusterSharding]
- Alphabetic
- By Inheritance
- ClusterSharding
- ExtensionId
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
final
case class
Passivate[M](entity: ActorRef[M]) extends ShardCommand with javadsl.ClusterSharding.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 specifiedstopMessage
message to the entity, which is then supposed to stop itself. -
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 specifiedstopMessage
message to the entity, which is then supposed to stop itself.Not for user extension.
- Annotations
- @DoNotInherit()
Value Members
-
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
-
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
- ClusterSharding → ExtensionId
-
final
def
equals(other: Any): Boolean
- Definition Classes
- ExtensionId → AnyRef → Any
-
final
def
hashCode(): Int
- Definition Classes
- ExtensionId → AnyRef → Any
-
def
id: ExtensionId[ClusterSharding]
Java API: The identifier of the extension
Java API: The identifier of the extension
- Definition Classes
- ExtensionId