Interface ExecutionGraphInfoStore
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Implementing Classes:
FileExecutionGraphInfoStore,MemoryExecutionGraphInfoStore
Interface for a
ExecutionGraphInfo store.-
Method Summary
Modifier and TypeMethodDescriptionget(org.apache.flink.api.common.JobID jobId) Get theExecutionGraphInfofor the given job id.Return the collection ofJobDetailsof all currently stored jobs.getAvailableJobDetails(org.apache.flink.api.common.JobID jobId) Return theJobDetails} for the given job.Return theJobsOverviewfor all stored/past jobs.voidput(ExecutionGraphInfo executionGraphInfo) Store the givenExecutionGraphInfoin the store.intsize()Returns the current number of storedExecutionGraphInfoinstances.
-
Method Details
-
size
int size()Returns the current number of storedExecutionGraphInfoinstances.- Returns:
- Current number of stored
ExecutionGraphInfoinstances
-
get
Get theExecutionGraphInfofor the given job id. Null if it isn't stored.- Parameters:
jobId- identifying the serializable execution graph to retrieve- Returns:
- The stored serializable execution graph or null
-
put
Store the givenExecutionGraphInfoin the store.- Parameters:
executionGraphInfo- to store- Throws:
IOException- if the serializable execution graph could not be stored in the store
-
getStoredJobsOverview
JobsOverview getStoredJobsOverview()Return theJobsOverviewfor all stored/past jobs.- Returns:
- Jobs overview for all stored/past jobs
-
getAvailableJobDetails
Collection<JobDetails> getAvailableJobDetails()Return the collection ofJobDetailsof all currently stored jobs.- Returns:
- Collection of job details of all currently stored jobs
-
getAvailableJobDetails
Return theJobDetails} for the given job.- Parameters:
jobId- identifying the job for which to retrieve theJobDetails- Returns:
JobDetailsof the requested job or null if the job is not available
-