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