public class PartialFinishedInputConsumableDecider extends Object implements InputConsumableDecider
PartialFinishedInputConsumableDecider is a special InputConsumableDecider. The
input is considered to be consumable:
| 限定符和类型 | 类和说明 |
|---|---|
static class |
PartialFinishedInputConsumableDecider.Factory
Factory for
PartialFinishedInputConsumableDecider. |
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
NUM_FINISHED_PARTITIONS_AS_CONSUMABLE |
| 构造器和说明 |
|---|
PartialFinishedInputConsumableDecider() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
isInputConsumable(SchedulingExecutionVertex executionVertex,
Set<ExecutionVertexID> verticesToDeploy,
Map<ConsumedPartitionGroup,Boolean> consumableStatusCache)
Determining whether the input of an execution vertex is consumable.
|
public static final int NUM_FINISHED_PARTITIONS_AS_CONSUMABLE
public boolean isInputConsumable(SchedulingExecutionVertex executionVertex, Set<ExecutionVertexID> verticesToDeploy, Map<ConsumedPartitionGroup,Boolean> consumableStatusCache)
InputConsumableDeciderisInputConsumable 在接口中 InputConsumableDeciderexecutionVertex - to be determined whether it's input is consumable.verticesToDeploy - 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.