// recovery for node already being handled
return;
}
for (RecoveryListener listener : recoveryListeners.keySet()) {
final RecoveryListener recoveryListener = listener;
final SimpleCompletionHandler handler =
new RecoveryCompletionHandler(node, listener);
handlers.add(handler);
taskScheduler.scheduleTask(
new AbstractKernelRunnable("NotifyRecoveryListeners") {
public void run() {
try {
if (!shuttingDown() &&
isLocalNodeAliveNonTransactional())
{
recoveryListener.recover(node, handler);
}
} catch (Exception e) {
logger.logThrow(
Level.WARNING, e,
"Notifying recovery listener on node:{0} " +