public interface ArchivedExecutionGraphStore extends Closeable
ArchivedExecutionGraph
store.Modifier and Type | Method and Description |
---|---|
ArchivedExecutionGraph |
get(JobID jobId)
Get the
ArchivedExecutionGraph for the given job id. |
Collection<JobDetails> |
getAvailableJobDetails()
Return the collection of
JobDetails of all currently stored jobs. |
JobDetails |
getAvailableJobDetails(JobID jobId)
Return the
JobDetails } for the given job. |
JobsOverview |
getStoredJobsOverview()
Return the
JobsOverview for all stored/past jobs. |
void |
put(ArchivedExecutionGraph archivedExecutionGraph)
Store the given
ArchivedExecutionGraph in the store. |
int |
size()
Returns the current number of stored
ArchivedExecutionGraph . |
int size()
ArchivedExecutionGraph
.ArchivedExecutionGraph
@Nullable ArchivedExecutionGraph get(JobID jobId)
ArchivedExecutionGraph
for the given job id. Null if it isn't stored.jobId
- identifying the serializable execution graph to retrievevoid put(ArchivedExecutionGraph archivedExecutionGraph) throws IOException
ArchivedExecutionGraph
in the store.archivedExecutionGraph
- to storeIOException
- if the serializable execution graph could not be stored in the storeJobsOverview getStoredJobsOverview()
JobsOverview
for all stored/past jobs.Collection<JobDetails> getAvailableJobDetails()
JobDetails
of all currently stored jobs.@Nullable JobDetails getAvailableJobDetails(JobID jobId)
JobDetails
} for the given job.jobId
- identifying the job for which to retrieve the JobDetails
JobDetails
of the requested job or null if the job is not availableCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.