public interface ExecutionGraphInfoStore extends Closeable
ExecutionGraphInfo
store.Modifier and Type | Method and Description |
---|---|
ExecutionGraphInfo |
get(JobID jobId)
Get the
ExecutionGraphInfo 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(ExecutionGraphInfo executionGraphInfo)
Store the given
ExecutionGraphInfo in the store. |
int |
size()
Returns the current number of stored
ExecutionGraphInfo instances. |
int size()
ExecutionGraphInfo
instances.ExecutionGraphInfo
instances@Nullable ExecutionGraphInfo get(JobID jobId)
ExecutionGraphInfo
for the given job id. Null if it isn't stored.jobId
- identifying the serializable execution graph to retrievevoid put(ExecutionGraphInfo executionGraphInfo) throws IOException
ExecutionGraphInfo
in the store.executionGraphInfo
- 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–2024 The Apache Software Foundation. All rights reserved.