Interface JobLeaderIdActions
-
public interface JobLeaderIdActionsInterface for actions called by theDefaultJobLeaderIdService.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleError(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 Detail
-
jobLeaderLostLeadership
void jobLeaderLostLeadership(org.apache.flink.api.common.JobID jobId, JobMasterId oldJobMasterId)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
void notifyJobTimeout(org.apache.flink.api.common.JobID jobId, UUID timeoutId)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
void handleError(Throwable error)
Callback to report occurring errors.- Parameters:
error- which has occurred
-
-