public interface PartitionGroupReleaseStrategy
ConsumedPartitionGroups.| Modifier and Type | Interface and Description |
|---|---|
static interface |
PartitionGroupReleaseStrategy.Factory
Factory for
PartitionGroupReleaseStrategy. |
| 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.
|
List<ConsumedPartitionGroup> vertexFinished(ExecutionVertexID finishedVertex)
finishedVertex - Id of the vertex that finished the executionConsumedPartitionGroups that can be releasedvoid vertexUnfinished(ExecutionVertexID executionVertexID)
executionVertexID - Id of the vertex that is no longer in finished state.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.