Interface JobGraphUpdateListener

All Known Implementing Classes:
AdaptiveBatchScheduler
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface JobGraphUpdateListener
This interface defines operations for components that are interested in being notified when new job vertices are added to the job graph.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onNewJobVerticesAdded(List<JobVertex> newVertices, int pendingOperatorsCount)
    Invoked when new JobVertex instances are added to the JobGraph of a specific job.
  • Method Details

    • onNewJobVerticesAdded

      void onNewJobVerticesAdded(List<JobVertex> newVertices, int pendingOperatorsCount) throws Exception
      Invoked when new JobVertex instances are added to the JobGraph of a specific job. This allows interested components to react to the addition of new vertices to the job topology.
      Parameters:
      newVertices - A list of newly added JobVertex instances.
      pendingOperatorsCount - The number of pending operators.
      Throws:
      Exception