Interface ExecutionGraphInfoStore
-
- All Superinterfaces:
AutoCloseable,Closeable
- All Known Implementing Classes:
FileExecutionGraphInfoStore,MemoryExecutionGraphInfoStore
public interface ExecutionGraphInfoStore extends Closeable
Interface for aExecutionGraphInfostore.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExecutionGraphInfoget(org.apache.flink.api.common.JobID jobId)Get theExecutionGraphInfofor the given job id.Collection<JobDetails>getAvailableJobDetails()Return the collection ofJobDetailsof all currently stored jobs.JobDetailsgetAvailableJobDetails(org.apache.flink.api.common.JobID jobId)Return theJobDetails} for the given job.JobsOverviewgetStoredJobsOverview()Return theJobsOverviewfor all stored/past jobs.voidput(ExecutionGraphInfo executionGraphInfo)Store the givenExecutionGraphInfoin the store.intsize()Returns the current number of storedExecutionGraphInfoinstances.
-
-
-
Method Detail
-
size
int size()
Returns the current number of storedExecutionGraphInfoinstances.- Returns:
- Current number of stored
ExecutionGraphInfoinstances
-
get
@Nullable ExecutionGraphInfo get(org.apache.flink.api.common.JobID jobId)
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
void put(ExecutionGraphInfo executionGraphInfo) throws IOException
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
@Nullable JobDetails getAvailableJobDetails(org.apache.flink.api.common.JobID jobId)
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
-
-