public void run() {
DistributedReplicantManagerImpl.this.log.debug("DRM: Sleeping before re-publishing for 50ms just in case");
try
{
// if this thread invokes a cluster method call before
// membershipChanged event completes, it could timeout/hang
// we need to discuss this with Bela.
Thread.sleep(50);
}
catch (InterruptedException e)
{
Thread.currentThread().interrupt();
}
DistributedReplicantManagerImpl.this.republishLocalReplicants();
}
Called when service needs to re-publish its local replicants to other
cluster members after this node has joined the cluster. |