diff --git a/akka-docs/rst/java/cluster-sharding.rst b/akka-docs/rst/java/cluster-sharding.rst index bdf7133ac8..75edd1145f 100644 --- a/akka-docs/rst/java/cluster-sharding.rst +++ b/akka-docs/rst/java/cluster-sharding.rst @@ -360,11 +360,11 @@ Inspecting cluster sharding state --------------------------------- Two requests to inspect the cluster state are available: -``ClusterShard.getShardRegionStateInstance`` which will return a ``ClusterShard.ShardRegionState`` that contains +``ShardRegion.getShardRegionStateInstance`` which will return a ``ShardRegion.ShardRegionState`` that contains the identifiers of the shards running in a Region and what entities are alive for each of them. -``ClusterShard.getClusterShardingStatsInstance`` which will query all the regions in the cluster and return -a ``ClusterShard.ClusterShardingStats`` containing the identifiers of the shards running in each region and a count +``ShardRegion.GetClusterShardingStats`` which will query all the regions in the cluster and return +a ``ShardRegion.ClusterShardingStats`` containing the identifiers of the shards running in each region and a count of entities that are alive in each shard. The purpose of these messages is testing and monitoring, they are not provided to give access to diff --git a/akka-docs/rst/scala/cluster-sharding.rst b/akka-docs/rst/scala/cluster-sharding.rst index 5dfcf421cf..9e7ed16598 100644 --- a/akka-docs/rst/scala/cluster-sharding.rst +++ b/akka-docs/rst/scala/cluster-sharding.rst @@ -361,11 +361,11 @@ Inspecting cluster sharding state --------------------------------- Two requests to inspect the cluster state are available: -``ClusterShard.GetShardRegionState`` which will return a ``ClusterShard.ShardRegionState`` that contains +``ShardRegion.GetShardRegionState`` which will return a ``ShardRegion.CurrentShardRegionState`` that contains the identifiers of the shards running in a Region and what entities are alive for each of them. -``ClusterShard.GetClusterShardingStats`` which will query all the regions in the cluster and return -a ``ClusterShard.ClusterShardingStats`` containing the identifiers of the shards running in each region and a count +``ShardRegion.GetClusterShardingStats`` which will query all the regions in the cluster and return +a ``ShardRegion.ClusterShardingStats`` containing the identifiers of the shards running in each region and a count of entities that are alive in each shard. The purpose of these messages is testing and monitoring, they are not provided to give access to