public interface InputConsumableDecider
InputConsumableDecider is responsible for determining whether the input of an
executionVertex is consumable.| 限定符和类型 | 接口和说明 |
|---|---|
static interface |
InputConsumableDecider.Factory
Factory for
InputConsumableDecider. |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
isInputConsumable(SchedulingExecutionVertex executionVertex,
Set<ExecutionVertexID> verticesToSchedule,
Map<ConsumedPartitionGroup,Boolean> consumableStatusCache)
Determining whether the input of an execution vertex is consumable.
|
boolean isInputConsumable(SchedulingExecutionVertex executionVertex, Set<ExecutionVertexID> verticesToSchedule, Map<ConsumedPartitionGroup,Boolean> consumableStatusCache)
executionVertex - to be determined whether it's input is consumable.verticesToSchedule - vertices that are not yet scheduled but already decided to be
scheduled.consumableStatusCache - a cache for ConsumedPartitionGroup consumable status.
This is to avoid repetitive computation.Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.