final case class GetClusterShardingStats(entityTypeKey: EntityTypeKey[_], timeout: FiniteDuration, replyTo: ActorRef[ClusterShardingStats]) extends ClusterShardingQuery with Product with Serializable
Ordering
- Alphabetic
- By Inheritance
Inherited
- GetClusterShardingStats
- Serializable
- Product
- Equals
- ClusterShardingQuery
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new GetClusterShardingStats(entityTypeKey: EntityTypeKey[_], timeout: Duration, replyTo: [ClusterShardingStats])
Java API
Java API
Query the statistics about the currently running sharded entities in the entire cluster. If the given
timeout
is reached without answers from all shard regions the reply will contain an empty map of regions. - new GetClusterShardingStats(entityTypeKey: EntityTypeKey[_], timeout: FiniteDuration, replyTo: [ClusterShardingStats])
- timeout
the timeout applied to querying all alive regions
- replyTo
the actor to send the result to
Value Members
- val entityTypeKey: EntityTypeKey[_]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val replyTo: [ClusterShardingStats]
- val timeout: FiniteDuration
Query the statistics about the currently running sharded entities in the entire cluster. If the given
timeout
is reached without answers from all shard regions the reply will contain an empty map of regions.Intended for testing purpose to see when cluster sharding is "ready" or to monitor the state of the shard regions.
the timeout applied to querying all alive regions
the actor to send the result to