public interface SubmittedJobGraphStore
SubmittedJobGraph instances for recovery.| Modifier and Type | Interface and Description |
|---|---|
static interface |
SubmittedJobGraphStore.SubmittedJobGraphListener
A listener for
SubmittedJobGraph instances. |
| Modifier and Type | Method and Description |
|---|---|
void |
putJobGraph(SubmittedJobGraph jobGraph)
Adds the
SubmittedJobGraph instance. |
scala.Option<SubmittedJobGraph> |
recoverJobGraph(org.apache.flink.api.common.JobID jobId)
Returns the
SubmittedJobGraph with the given JobID. |
List<SubmittedJobGraph> |
recoverJobGraphs()
Returns a list of all submitted
JobGraph instances. |
void |
removeJobGraph(org.apache.flink.api.common.JobID jobId)
Removes the
SubmittedJobGraph with the given JobID if it exists. |
void |
start(SubmittedJobGraphStore.SubmittedJobGraphListener jobGraphListener)
Starts the
SubmittedJobGraphStore service. |
void |
stop()
Stops the
SubmittedJobGraphStore service. |
void start(SubmittedJobGraphStore.SubmittedJobGraphListener jobGraphListener) throws Exception
SubmittedJobGraphStore service.Exceptionvoid stop() throws Exception
SubmittedJobGraphStore service.ExceptionList<SubmittedJobGraph> recoverJobGraphs() throws Exception
JobGraph instances.Exceptionscala.Option<SubmittedJobGraph> recoverJobGraph(org.apache.flink.api.common.JobID jobId) throws Exception
SubmittedJobGraph with the given JobID.
An Exception is thrown, if no job graph with the given ID exists.
Exceptionvoid putJobGraph(SubmittedJobGraph jobGraph) throws Exception
SubmittedJobGraph instance.
If a job graph with the same JobID exists, it is replaced.
Exceptionvoid removeJobGraph(org.apache.flink.api.common.JobID jobId)
throws Exception
SubmittedJobGraph with the given JobID if it exists.ExceptionCopyright © 2014–2016 The Apache Software Foundation. All rights reserved.