Class VertexEndOfDataListener

java.lang.Object
org.apache.flink.runtime.scheduler.VertexEndOfDataListener

public class VertexEndOfDataListener extends Object
Records the end of data event of each task, and allows for checking whether all tasks of a JobGraph have reached the end of data.
  • Constructor Details

    • VertexEndOfDataListener

      public VertexEndOfDataListener(ExecutionGraph executionGraph)
  • Method Details

    • recordTaskEndOfData

      public void recordTaskEndOfData(ExecutionAttemptID executionAttemptID)
    • areAllTasksOfJobVertexEndOfData

      public boolean areAllTasksOfJobVertexEndOfData(JobVertexID jobVertexID)
    • areAllTasksEndOfData

      public boolean areAllTasksEndOfData()
    • restoreVertices

      public void restoreVertices(Set<ExecutionVertexID> executionVertices)