public class DefaultJobMasterServiceProcessFactory extends Object implements JobMasterServiceProcessFactory
| Constructor and Description |
|---|
DefaultJobMasterServiceProcessFactory(org.apache.flink.api.common.JobID jobId,
String jobName,
JobCheckpointingSettings checkpointingSettings,
long initializationTimestamp,
JobMasterServiceFactory jobMasterServiceFactory) |
| 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. |
public DefaultJobMasterServiceProcessFactory(org.apache.flink.api.common.JobID jobId,
String jobName,
@Nullable
JobCheckpointingSettings checkpointingSettings,
long initializationTimestamp,
JobMasterServiceFactory jobMasterServiceFactory)
public JobMasterServiceProcess create(UUID leaderSessionId)
JobMasterServiceProcessFactoryJobMasterServiceProcess for the given leaderSessionId.create in interface JobMasterServiceProcessFactoryleaderSessionId - leaderSessionId for which to create a JobMasterServiceProcessJobMasterServiceProcesspublic org.apache.flink.api.common.JobID getJobId()
JobMasterServiceProcessFactoryJobID of the job for which this factory creates JobMasterServiceProcess.getJobId in interface JobMasterServiceProcessFactorypublic ArchivedExecutionGraph createArchivedExecutionGraph(org.apache.flink.api.common.JobStatus jobStatus, @Nullable Throwable cause)
JobMasterServiceProcessFactoryArchivedExecutionGraph for the job for which this factory creates JobMasterServiceProcess with the given jobStatus and failure cause.createArchivedExecutionGraph in interface JobMasterServiceProcessFactoryjobStatus - jobStatus which the ArchivedExecutionGraph should havecause - cause which the ArchivedExecutionGraph should be initialized with; null
iff no failure causeArchivedExecutionGraphCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.