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)
PartitionGroupReleaseStrategy
vertexFinished
in interface PartitionGroupReleaseStrategy
finishedVertex
- Id of the vertex that finished the executionConsumedPartitionGroups
that can be releasedpublic void vertexUnfinished(ExecutionVertexID executionVertexID)
PartitionGroupReleaseStrategy
vertexUnfinished
in interface PartitionGroupReleaseStrategy
executionVertexID
- Id of the vertex that is no longer in finished state.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.