public interface JobMasterServiceProcessFactory
JobMasterServiceProcess.| Modifier and Type | Method and Description |
|---|---|
JobMasterServiceProcess |
create(UUID leaderSessionId)
Create a new
JobMasterServiceProcess for the given leaderSessionId. |
ArchivedExecutionGraph |
createArchivedExecutionGraph(org.apache.flink.api.common.JobStatus jobStatus,
Throwable cause)
Creates an
ArchivedExecutionGraph for the job for which this factory creates JobMasterServiceProcess with the given jobStatus and failure cause. |
org.apache.flink.api.common.JobID |
getJobId()
Gets the
JobID of the job for which this factory creates JobMasterServiceProcess. |
JobMasterServiceProcess create(UUID leaderSessionId)
JobMasterServiceProcess for the given leaderSessionId.leaderSessionId - leaderSessionId for which to create a JobMasterServiceProcessJobMasterServiceProcessorg.apache.flink.api.common.JobID getJobId()
JobID of the job for which this factory creates JobMasterServiceProcess.ArchivedExecutionGraph createArchivedExecutionGraph(org.apache.flink.api.common.JobStatus jobStatus, @Nullable Throwable cause)
ArchivedExecutionGraph for the job for which this factory creates JobMasterServiceProcess with the given jobStatus and failure cause.jobStatus - jobStatus which the ArchivedExecutionGraph should havecause - cause which the ArchivedExecutionGraph should be initialized with; null
iff no failure causeArchivedExecutionGraphCopyright © 2014–2025 The Apache Software Foundation. All rights reserved.