public interface JobLeaderIdActions
JobLeaderIdService.| Modifier and Type | Method and Description |
|---|---|
void |
handleError(Throwable error)
Callback to report occurring errors.
|
void |
jobLeaderLostLeadership(JobID jobId,
UUID oldJobLeaderId)
Callback when a monitored job leader lost its leadership.
|
void |
notifyJobTimeout(JobID jobId,
UUID timeoutId)
Notify a job timeout.
|
void jobLeaderLostLeadership(JobID jobId, UUID oldJobLeaderId)
jobId - identifying the job whose leader lost leadershipoldJobLeaderId - of the job manager which lost leadershipvoid notifyJobTimeout(JobID jobId, UUID timeoutId)
jobId - JobID which identifies the timed out jobtimeoutId - Id of the calling timeout to differentiate valid from invalid timeoutsvoid handleError(Throwable error)
error - which has occurredCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.