public class RegionPartitionReleaseStrategy extends Object implements PartitionReleaseStrategy
SchedulingPipelinedRegion
, as soon as the region's execution vertices are finished.Modifier and Type | Class and Description |
---|---|
static class |
RegionPartitionReleaseStrategy.Factory
Factory for
PartitionReleaseStrategy . |
Constructor and Description |
---|
RegionPartitionReleaseStrategy(SchedulingTopology schedulingTopology) |
Modifier and Type | Method and Description |
---|---|
List<IntermediateResultPartitionID> |
vertexFinished(ExecutionVertexID finishedVertex)
Calling this method informs the strategy that a vertex finished.
|
void |
vertexUnfinished(ExecutionVertexID executionVertexId)
Calling this method informs the strategy that a vertex is no longer in finished state, e.g.,
when a vertex is re-executed.
|
public RegionPartitionReleaseStrategy(SchedulingTopology schedulingTopology)
public List<IntermediateResultPartitionID> vertexFinished(ExecutionVertexID finishedVertex)
PartitionReleaseStrategy
vertexFinished
in interface PartitionReleaseStrategy
finishedVertex
- Id of the vertex that finished the executionpublic void vertexUnfinished(ExecutionVertexID executionVertexId)
PartitionReleaseStrategy
vertexUnfinished
in interface PartitionReleaseStrategy
executionVertexId
- Id of the vertex that is no longer in finished state.Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.