public class RegionPartitionReleaseStrategy extends Object implements PartitionReleaseStrategy
PipelinedRegion,
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,
Set<PipelinedRegion> pipelinedRegions) |
| 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, Set<PipelinedRegion> pipelinedRegions)
public List<IntermediateResultPartitionID> vertexFinished(ExecutionVertexID finishedVertex)
PartitionReleaseStrategyvertexFinished in interface PartitionReleaseStrategyfinishedVertex - Id of the vertex that finished the executionpublic void vertexUnfinished(ExecutionVertexID executionVertexId)
PartitionReleaseStrategyvertexUnfinished in interface PartitionReleaseStrategyexecutionVertexId - Id of the vertex that is no longer in finished state.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.