From 20dfaded175c2ce23b283333f2c9512936515b2c Mon Sep 17 00:00:00 2001 From: Konrad Malawski Date: Mon, 28 Sep 2015 12:59:55 +0200 Subject: [PATCH] =doc fix typo in sharding docs //cc @patriknw --- akka-docs/rst/java/cluster-sharding.rst | 2 +- akka-docs/rst/scala/cluster-sharding.rst | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/akka-docs/rst/java/cluster-sharding.rst b/akka-docs/rst/java/cluster-sharding.rst index 7f96b0ec06..4a88813ee8 100644 --- a/akka-docs/rst/java/cluster-sharding.rst +++ b/akka-docs/rst/java/cluster-sharding.rst @@ -259,7 +259,7 @@ Note that stopped entities will be started again when a new message is targeted Graceful Shutdown ----------------- -You can send the message ``ClusterSharding.GracefulShutdown`` message (``ClusterSharding.gracefulShutdownInstance +You can send the message ``ClusterSharding.GracefulShutdown`` message (``ClusterSharding.gracefulShutdownInstance`` in Java) to the ``ShardRegion`` actor to handoff all shards that are hosted by that ``ShardRegion`` and then the ``ShardRegion`` actor will be stopped. You can ``watch`` the ``ShardRegion`` actor to know when it is completed. During this period other regions will buffer messages for those shards in the same way as when a rebalance is diff --git a/akka-docs/rst/scala/cluster-sharding.rst b/akka-docs/rst/scala/cluster-sharding.rst index 4647231cf5..f5b208ed1d 100644 --- a/akka-docs/rst/scala/cluster-sharding.rst +++ b/akka-docs/rst/scala/cluster-sharding.rst @@ -262,8 +262,7 @@ Note that stopped entities will be started again when a new message is targeted Graceful Shutdown ----------------- -You can send the message ``ClusterSharding.GracefulShutdown`` message (``ClusterSharding.gracefulShutdownInstance -in Java) to the ``ShardRegion`` actor to handoff all shards that are hosted by that ``ShardRegion`` and then the +You can send the message ``ClusterSharding.GracefulShutdown`` message to the ``ShardRegion`` actor to handoff all shards that are hosted by that ``ShardRegion`` and then the ``ShardRegion`` actor will be stopped. You can ``watch`` the ``ShardRegion`` actor to know when it is completed. During this period other regions will buffer messages for those shards in the same way as when a rebalance is triggered by the coordinator. When the shards have been stopped the coordinator will allocate these shards elsewhere.