c

akka.cluster.sharding.typed

GetShardRegionState

final case class GetShardRegionState(entityTypeKey: EntityTypeKey[_], replyTo: ActorRef[CurrentShardRegionState]) extends ClusterShardingQuery with Product with Serializable

Query the ShardRegion state for the given entity type key. This will get the state of the local ShardRegion's state.

Intended for testing purpose to see when cluster sharding is "ready" or to monitor the state of the shard regions.

For the statistics for the entire cluster, see GetClusterShardingStats.

Source
ClusterShardingQuery.scala
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GetShardRegionState
  2. Serializable
  3. Product
  4. Equals
  5. ClusterShardingQuery
  6. AnyRef
  7. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new GetShardRegionState(entityTypeKey: EntityTypeKey[_], replyTo: [CurrentShardRegionState])

    Java API

    Java API

    Query the ShardRegion state for the given entity type key. This will get the state of the local ShardRegion's state.

  2. new GetShardRegionState(entityTypeKey: EntityTypeKey[_], replyTo: [CurrentShardRegionState])

Value Members

  1. val entityTypeKey: EntityTypeKey[_]
  2. def productElementNames: Iterator[String]
    Definition Classes
    Product
  3. val replyTo: [CurrentShardRegionState]