Class NotReleasingPartitionGroupReleaseStrategy
- java.lang.Object
-
- org.apache.flink.runtime.executiongraph.failover.partitionrelease.NotReleasingPartitionGroupReleaseStrategy
-
- All Implemented Interfaces:
PartitionGroupReleaseStrategy
public class NotReleasingPartitionGroupReleaseStrategy extends Object implements PartitionGroupReleaseStrategy
Does not release intermediate result partitions during job execution. Relies on partitions being released at the end of the job.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNotReleasingPartitionGroupReleaseStrategy.FactoryFactory forNotReleasingPartitionGroupReleaseStrategy.
-
Constructor Summary
Constructors Constructor Description NotReleasingPartitionGroupReleaseStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ConsumedPartitionGroup>vertexFinished(ExecutionVertexID finishedVertex)Calling this method informs the strategy that a vertex finished.voidvertexUnfinished(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.
-
-
-
Method Detail
-
vertexFinished
public List<ConsumedPartitionGroup> vertexFinished(ExecutionVertexID finishedVertex)
Description copied from interface:PartitionGroupReleaseStrategyCalling this method informs the strategy that a vertex finished.- Specified by:
vertexFinishedin interfacePartitionGroupReleaseStrategy- Parameters:
finishedVertex- Id of the vertex that finished the execution- Returns:
- A list of
ConsumedPartitionGroupsthat can be released
-
vertexUnfinished
public void vertexUnfinished(ExecutionVertexID executionVertexID)
Description copied from interface:PartitionGroupReleaseStrategyCalling this method informs the strategy that a vertex is no longer in finished state, e.g., when a vertex is re-executed.- Specified by:
vertexUnfinishedin interfacePartitionGroupReleaseStrategy- Parameters:
executionVertexID- Id of the vertex that is no longer in finished state.
-
-