public class SingleJobJobGraphStore extends Object implements JobGraphStore
JobGraphStore implementation for a single job.JobGraphStore.JobGraphListener| 构造器和说明 |
|---|
SingleJobJobGraphStore(JobGraph jobGraph) |
| 限定符和类型 | 方法和说明 |
|---|---|
Collection<org.apache.flink.api.common.JobID> |
getJobIds()
Get all job ids of submitted job graphs to the submitted job graph store.
|
void |
putJobGraph(JobGraph jobGraph)
Adds the
JobGraph instance. |
JobGraph |
recoverJobGraph(org.apache.flink.api.common.JobID jobId)
|
void |
start(JobGraphStore.JobGraphListener jobGraphListener)
Starts the
JobGraphStore service. |
void |
stop()
Stops the
JobGraphStore service. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitglobalCleanupAsync, localCleanupAsyncpublic SingleJobJobGraphStore(JobGraph jobGraph)
public void start(JobGraphStore.JobGraphListener jobGraphListener) throws Exception
JobGraphStoreJobGraphStore service.start 在接口中 JobGraphStoreExceptionpublic void stop()
throws Exception
JobGraphStoreJobGraphStore service.stop 在接口中 JobGraphStoreExceptionpublic JobGraph recoverJobGraph(org.apache.flink.api.common.JobID jobId) throws Exception
JobGraphStorerecoverJobGraph 在接口中 JobGraphStoreExceptionpublic void putJobGraph(JobGraph jobGraph) throws Exception
JobGraphWriterJobGraph instance.
If a job graph with the same JobID exists, it is replaced.
putJobGraph 在接口中 JobGraphWriterExceptionpublic Collection<org.apache.flink.api.common.JobID> getJobIds()
JobGraphStoregetJobIds 在接口中 JobGraphStoreCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.