public class DefaultJobMasterServiceProcessFactory extends Object implements JobMasterServiceProcessFactory
| 构造器和说明 |
|---|
DefaultJobMasterServiceProcessFactory(org.apache.flink.api.common.JobID jobId,
String jobName,
JobCheckpointingSettings checkpointingSettings,
long initializationTimestamp,
JobMasterServiceFactory jobMasterServiceFactory) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 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 在接口中 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 在接口中 JobMasterServiceProcessFactoryjobStatus - jobStatus which the ArchivedExecutionGraph should havecause - cause which the ArchivedExecutionGraph should be initialized with; null
iff no failure causeArchivedExecutionGraphCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.