LOGGER.log(Level.FINEST, "[SYNCHRONIZER] Failed pushing through unit: {0}. Cause: {1}", new Object[]{unit, ex.getMessage()});
getProcessor().onIterationException(getExecutionUnit(), ex);
} finally {
if (!isShutdown()) {
getProcessor().onEnd(unit, success);
context.onExecutionPhaseCompleted();
}
if (result != null) {
result.destroy();
}
LOGGER.log(Level.FINEST, "[SYNCHRONIZER] Completed pushing through unit: {0}. Obtained {1} records.", new Object[]{unit, count});