Interface ExecutionPlanStore.ExecutionPlanListener

All Known Implementing Classes:
DefaultExecutionPlanStore, SessionDispatcherLeaderProcess
Enclosing interface:
ExecutionPlanStore

public static interface ExecutionPlanStore.ExecutionPlanListener
A listener for ExecutionPlan instances. This is used to react to races between multiple running ExecutionPlanStore instances (on multiple job managers).
  • Method Details

    • onAddedExecutionPlan

      void onAddedExecutionPlan(org.apache.flink.api.common.JobID jobId)
      Callback for ExecutionPlan instances added by a different ExecutionPlanStore instance.

      Important: It is possible to get false positives and be notified about a job graph, which was added by this instance.

      Parameters:
      jobId - The JobID of the added job graph
    • onRemovedExecutionPlan

      void onRemovedExecutionPlan(org.apache.flink.api.common.JobID jobId)
      Callback for ExecutionPlan instances removed by a different ExecutionPlanStore instance.
      Parameters:
      jobId - The JobID of the removed job graph