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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonNewJobVerticesAdded(List<JobVertex> newVertices, int pendingOperatorsCount)Invoked when newJobVertexinstances are added to the JobGraph of a specific job.
-
-
-
Method Detail
-
onNewJobVerticesAdded
void onNewJobVerticesAdded(List<JobVertex> newVertices, int pendingOperatorsCount) throws Exception
Invoked when newJobVertexinstances 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
-
-