=clu #18245 Improve registerOnMemberRemoved example

This commit is contained in:
Patrik Nordwall 2015-09-10 08:48:50 +02:00
parent 569b18d56e
commit 13f5b255f3
5 changed files with 40 additions and 19 deletions

View file

@ -333,8 +333,7 @@ How To Cleanup when Member is Removed
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
You can do some clean up in a ``registerOnMemberRemoved`` callback, which will
be invoked when the current member status is changed to 'Removed' or the cluster have been shutdown,i.e.
terminate the actor system.
be invoked when the current member status is changed to 'Removed' or the cluster have been shutdown.
For example, this is how to shut down the ``ActorSystem`` and thereafter exit the JVM: