Interface JobLeaderIdActions
public interface JobLeaderIdActions
Interface for actions called by the
DefaultJobLeaderIdService.-
Method Summary
Modifier and TypeMethodDescriptionvoidhandleError(Throwable error) Callback to report occurring errors.voidjobLeaderLostLeadership(org.apache.flink.api.common.JobID jobId, JobMasterId oldJobMasterId) Callback when a monitored job leader lost its leadership.voidnotifyJobTimeout(org.apache.flink.api.common.JobID jobId, UUID timeoutId) Notify a job timeout.
-
Method Details
-
jobLeaderLostLeadership
Callback when a monitored job leader lost its leadership.- Parameters:
jobId- identifying the job whose leader lost leadershipoldJobMasterId- of the job manager which lost leadership
-
notifyJobTimeout
Notify a job timeout. The job is identified by the given JobID. In order to check for the validity of the timeout the timeout id of the triggered timeout is provided.- Parameters:
jobId- JobID which identifies the timed out jobtimeoutId- Id of the calling timeout to differentiate valid from invalid timeouts
-
handleError
Callback to report occurring errors.- Parameters:
error- which has occurred
-