Interface JobMasterServiceProcessFactory
-
- All Known Implementing Classes:
DefaultJobMasterServiceProcessFactory
public interface JobMasterServiceProcessFactoryFactory for theJobMasterServiceProcess.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JobMasterServiceProcesscreate(UUID leaderSessionId)Create a newJobMasterServiceProcessfor the given leaderSessionId.ArchivedExecutionGraphcreateArchivedExecutionGraph(org.apache.flink.api.common.JobStatus jobStatus, Throwable cause)Creates anArchivedExecutionGraphfor the job for which this factory createsJobMasterServiceProcesswith the given jobStatus and failure cause.org.apache.flink.api.common.JobIDgetJobId()Gets theJobIDof the job for which this factory createsJobMasterServiceProcess.
-
-
-
Method Detail
-
create
JobMasterServiceProcess create(UUID leaderSessionId)
Create a newJobMasterServiceProcessfor the given leaderSessionId.- Parameters:
leaderSessionId- leaderSessionId for which to create aJobMasterServiceProcess- Returns:
- the newly created
JobMasterServiceProcess
-
getJobId
org.apache.flink.api.common.JobID getJobId()
Gets theJobIDof the job for which this factory createsJobMasterServiceProcess.
-
createArchivedExecutionGraph
ArchivedExecutionGraph createArchivedExecutionGraph(org.apache.flink.api.common.JobStatus jobStatus, @Nullable Throwable cause)
Creates anArchivedExecutionGraphfor the job for which this factory createsJobMasterServiceProcesswith the given jobStatus and failure cause.- Parameters:
jobStatus- jobStatus which theArchivedExecutionGraphshould havecause- cause which theArchivedExecutionGraphshould be initialized with; null iff no failure cause- Returns:
- created
ArchivedExecutionGraph
-
-