public interface JobLeaderIdActions
JobLeaderIdService
.Modifier and Type | Method and Description |
---|---|
void |
handleError(Throwable error)
Callback to report occurring errors.
|
void |
jobLeaderLostLeadership(JobID jobId,
JobMasterId oldJobMasterId)
Callback when a monitored job leader lost its leadership.
|
void |
notifyJobTimeout(JobID jobId,
UUID timeoutId)
Notify a job timeout.
|
void jobLeaderLostLeadership(JobID jobId, JobMasterId oldJobMasterId)
jobId
- identifying the job whose leader lost leadershipoldJobMasterId
- 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–2020 The Apache Software Foundation. All rights reserved.