=clu #13226 Prune vector clocks from removed member

This commit is contained in:
Patrik Nordwall 2015-02-11 22:16:27 +01:00
parent f4abf80f50
commit 5cf35938d0
6 changed files with 196 additions and 6 deletions

View file

@ -330,6 +330,7 @@ class Cluster(val system: ExtendedActorSystem) extends Extension {
*/
def registerOnMemberUp(callback: Runnable): Unit =
clusterDaemons ! InternalClusterAction.AddOnMemberUpListener(callback)
/**
* The supplied thunk will be run, once, when current cluster member is `Removed`.
* and if the cluster have been shutdown,that thunk will run on the caller thread immediately.