public class DefaultSchedulingPipelinedRegion extends Object implements SchedulingPipelinedRegion
SchedulingPipelinedRegion.| Constructor and Description |
|---|
DefaultSchedulingPipelinedRegion(Set<org.apache.flink.runtime.scheduler.adapter.DefaultExecutionVertex> defaultExecutionVertices,
java.util.function.Function<IntermediateResultPartitionID,org.apache.flink.runtime.scheduler.adapter.DefaultResultPartition> resultPartitionRetriever) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
contains(ExecutionVertexID vertexId)
Returns whether the vertex is in this pipelined region or not.
|
Iterable<ConsumedPartitionGroup> |
getAllBlockingConsumedPartitionGroups()
Get all distinct blocking
ConsumedPartitionGroups. |
org.apache.flink.runtime.scheduler.adapter.DefaultExecutionVertex |
getVertex(ExecutionVertexID vertexId)
Returns the vertex with the specified vertex id.
|
Iterable<org.apache.flink.runtime.scheduler.adapter.DefaultExecutionVertex> |
getVertices()
Returns vertices that are in this pipelined region.
|
public DefaultSchedulingPipelinedRegion(Set<org.apache.flink.runtime.scheduler.adapter.DefaultExecutionVertex> defaultExecutionVertices, java.util.function.Function<IntermediateResultPartitionID,org.apache.flink.runtime.scheduler.adapter.DefaultResultPartition> resultPartitionRetriever)
public Iterable<org.apache.flink.runtime.scheduler.adapter.DefaultExecutionVertex> getVertices()
PipelinedRegiongetVertices in interface PipelinedRegion<ExecutionVertexID,IntermediateResultPartitionID,SchedulingExecutionVertex,SchedulingResultPartition>public org.apache.flink.runtime.scheduler.adapter.DefaultExecutionVertex getVertex(ExecutionVertexID vertexId)
PipelinedRegiongetVertex in interface PipelinedRegion<ExecutionVertexID,IntermediateResultPartitionID,SchedulingExecutionVertex,SchedulingResultPartition>vertexId - the vertex id used to look up the vertexpublic Iterable<ConsumedPartitionGroup> getAllBlockingConsumedPartitionGroups()
SchedulingPipelinedRegionConsumedPartitionGroups.getAllBlockingConsumedPartitionGroups in interface SchedulingPipelinedRegionConsumedPartitionGroupspublic boolean contains(ExecutionVertexID vertexId)
PipelinedRegioncontains in interface PipelinedRegion<ExecutionVertexID,IntermediateResultPartitionID,SchedulingExecutionVertex,SchedulingResultPartition>vertexId - the vertex id used to look upCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.