public class NotReleasingPartitionGroupReleaseStrategy extends Object implements PartitionGroupReleaseStrategy
| Modifier and Type | Class and Description |
|---|---|
static class |
NotReleasingPartitionGroupReleaseStrategy.Factory
Factory for
NotReleasingPartitionGroupReleaseStrategy. |
| Constructor and Description |
|---|
NotReleasingPartitionGroupReleaseStrategy() |
| Modifier and Type | Method and Description |
|---|---|
List<ConsumedPartitionGroup> |
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 NotReleasingPartitionGroupReleaseStrategy()
public List<ConsumedPartitionGroup> vertexFinished(ExecutionVertexID finishedVertex)
PartitionGroupReleaseStrategyvertexFinished in interface PartitionGroupReleaseStrategyfinishedVertex - Id of the vertex that finished the executionConsumedPartitionGroups that can be releasedpublic void vertexUnfinished(ExecutionVertexID executionVertexID)
PartitionGroupReleaseStrategyvertexUnfinished in interface PartitionGroupReleaseStrategyexecutionVertexID - Id of the vertex that is no longer in finished state.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.