public interface JobGraphWriter
| Modifier and Type | Method and Description |
|---|---|
void |
putJobGraph(JobGraph jobGraph)
Adds the
JobGraph instance. |
void |
releaseJobGraph(org.apache.flink.api.common.JobID jobId)
Releases the locks on the specified
JobGraph. |
void |
removeJobGraph(org.apache.flink.api.common.JobID jobId)
Removes the
JobGraph with the given JobID if it exists. |
void putJobGraph(JobGraph jobGraph) throws Exception
JobGraph instance.
If a job graph with the same JobID exists, it is replaced.
Exceptionvoid removeJobGraph(org.apache.flink.api.common.JobID jobId)
throws Exception
JobGraph with the given JobID if it exists.Exceptionvoid releaseJobGraph(org.apache.flink.api.common.JobID jobId)
throws Exception
JobGraph.
Releasing the locks allows that another instance can delete the job from
the JobGraphStore.jobId - specifying the job to release the locks forException - if the locks cannot be releasedCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.