/** * Check completeness of the future. */ private void checkComplete() { if (initialized() && !isDone() && lsnrCalls == futuresCount()) { try { onDone(rdc != null ? rdc.reduce() : null); } catch (RuntimeException e) { logError(logger(), "Failed to execute compound future reducer: " + this, e); onDone(e); } catch (AssertionError e) { logError(logger(), "Failed to execute compound future reducer: " + this, e); onDone(e); throw e; } } }
if (!processFailure(e, fut)) { if (e instanceof NodeStoppingException) logDebug(logger(), "Failed to execute compound future reducer, node stopped."); else logError(null, "Failed to execute compound future reducer: " + this, e);
/** * Check completeness of the future. */ private void checkComplete() { if (initialized() && !isDone() && lsnrCalls == futuresCount()) { try { onDone(rdc != null ? rdc.reduce() : null); } catch (RuntimeException e) { logError(logger(), "Failed to execute compound future reducer: " + this, e); onDone(e); } catch (AssertionError e) { logError(logger(), "Failed to execute compound future reducer: " + this, e); onDone(e); throw e; } } }
if (!processFailure(e, fut)) { if (e instanceof NodeStoppingException) logDebug(logger(), "Failed to execute compound future reducer, node stopped."); else logError(null, "Failed to execute compound future reducer: " + this, e);