{
return;
}
state = SERVER_STATE.STOPPING;
final ReplicationManager localReplicationManager = getReplicationManager();
if (localReplicationManager != null)
{
replicationManager.sendLiveIsStopping(LiveStopping.STOP_CALLED);
// Schedule for 10 seconds
// this pool gets a 'hard' shutdown, no need to manage the Future of this Runnable.
scheduledPool.schedule(new Runnable()
{
@Override
public void run()
{
localReplicationManager.clearReplicationTokens();
}
}, 30, TimeUnit.SECONDS);
}
stopComponent(connectorsService);