Interface ExecutionGraphInfoStore

All Superinterfaces:
AutoCloseable, Closeable
All Known Implementing Classes:
FileExecutionGraphInfoStore, MemoryExecutionGraphInfoStore

public interface ExecutionGraphInfoStore extends Closeable
Interface for a ExecutionGraphInfo store.
  • Method Details

    • size

      int size()
      Returns the current number of stored ExecutionGraphInfo instances.
      Returns:
      Current number of stored ExecutionGraphInfo instances
    • get

      @Nullable ExecutionGraphInfo get(org.apache.flink.api.common.JobID jobId)
      Get the ExecutionGraphInfo for 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 given ExecutionGraphInfo in the store.
      Parameters:
      executionGraphInfo - to store
      Throws:
      IOException - if the serializable execution graph could not be stored in the store
    • getStoredJobsOverview

      JobsOverview getStoredJobsOverview()
      Return the JobsOverview for all stored/past jobs.
      Returns:
      Jobs overview for all stored/past jobs
    • getAvailableJobDetails

      Collection<JobDetails> getAvailableJobDetails()
      Return the collection of JobDetails of 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 the JobDetails} for the given job.
      Parameters:
      jobId - identifying the job for which to retrieve the JobDetails
      Returns:
      JobDetails of the requested job or null if the job is not available