Interface SchedulingTopology
- All Superinterfaces:
BaseTopology<ExecutionVertexID,,IntermediateResultPartitionID, SchedulingExecutionVertex, SchedulingResultPartition> Topology<ExecutionVertexID,IntermediateResultPartitionID, SchedulingExecutionVertex, SchedulingResultPartition, SchedulingPipelinedRegion>
- All Known Implementing Classes:
DefaultExecutionTopology
public interface SchedulingTopology
extends Topology<ExecutionVertexID,IntermediateResultPartitionID,SchedulingExecutionVertex,SchedulingResultPartition,SchedulingPipelinedRegion>
Topology of
SchedulingExecutionVertex.-
Method Summary
Modifier and TypeMethodDescriptiongetResultPartition(IntermediateResultPartitionID intermediateResultPartitionId) Looks up theSchedulingResultPartitionfor the givenIntermediateResultPartitionID.getVertex(ExecutionVertexID executionVertexId) Looks up theSchedulingExecutionVertexfor the givenExecutionVertexID.voidRegister a scheduling topology listener.Methods inherited from interface org.apache.flink.runtime.topology.BaseTopology
getVerticesMethods inherited from interface org.apache.flink.runtime.topology.Topology
getAllPipelinedRegions, getPipelinedRegionOfVertex
-
Method Details
-
getVertex
Looks up theSchedulingExecutionVertexfor the givenExecutionVertexID.- Parameters:
executionVertexId- identifying the respective scheduling vertex- Returns:
- The respective scheduling vertex
- Throws:
IllegalArgumentException- If the vertex does not exist
-
getResultPartition
SchedulingResultPartition getResultPartition(IntermediateResultPartitionID intermediateResultPartitionId) Looks up theSchedulingResultPartitionfor the givenIntermediateResultPartitionID.- Parameters:
intermediateResultPartitionId- identifying the respective scheduling result partition- Returns:
- The respective scheduling result partition
- Throws:
IllegalArgumentException- If the partition does not exist
-
registerSchedulingTopologyListener
Register a scheduling topology listener. The listener will be notified bySchedulingTopologyListener.notifySchedulingTopologyUpdated(SchedulingTopology, List)when the scheduling topology is updated.- Parameters:
listener- the registered listener.
-