@Override public void handleError(Exception exception) { if (running) { listenerJobLeaderIdActions.handleError(exception); } else { LOG.debug("An error occurred in the {} after the listener has been stopped.", JobLeaderIdListener.class.getSimpleName(), exception); } }
@Override public void run() { listenerJobLeaderIdActions.notifyJobTimeout(jobId, newTimeoutId); } }, jobTimeout.toMilliseconds(), TimeUnit.MILLISECONDS);
listenerJobLeaderIdActions.jobLeaderLostLeadership(jobId, new JobMasterId(previousJobLeaderId));
listenerJobLeaderIdActions.jobLeaderLostLeadership(jobId, new JobMasterId(previousJobLeaderId));
@Override public void handleError(Exception exception) { if (running) { listenerJobLeaderIdActions.handleError(exception); } else { LOG.debug("An error occurred in the {} after the listener has been stopped.", JobLeaderIdListener.class.getSimpleName(), exception); } }
@Override public void run() { listenerJobLeaderIdActions.notifyJobTimeout(jobId, newTimeoutId); } }, jobTimeout.toMilliseconds(), TimeUnit.MILLISECONDS);
listenerJobLeaderIdActions.jobLeaderLostLeadership(jobId, new JobMasterId(previousJobLeaderId));
@Override public void handleError(Exception exception) { if (running) { listenerJobLeaderIdActions.handleError(exception); } else { LOG.debug("An error occurred in the {} after the listener has been stopped.", JobLeaderIdListener.class.getSimpleName(), exception); } }
@Override public void run() { listenerJobLeaderIdActions.notifyJobTimeout(jobId, newTimeoutId); } }, jobTimeout.toMilliseconds(), TimeUnit.MILLISECONDS);
listenerJobLeaderIdActions.jobLeaderLostLeadership(jobId, previousJobLeaderId);
@Override public void handleError(Exception exception) { if (running) { listenerJobLeaderIdActions.handleError(exception); } else { LOG.debug("An error occurred in the {} after the listener has been stopped.", JobLeaderIdListener.class.getSimpleName(), exception); } }
@Override public void run() { listenerJobLeaderIdActions.notifyJobTimeout(jobId, newTimeoutId); } }, jobTimeout.toMilliseconds(), TimeUnit.MILLISECONDS);