public class ReactiveScaleUpController extends Object implements ScaleUpController
| 构造器和说明 |
|---|
ReactiveScaleUpController(org.apache.flink.configuration.Configuration configuration) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
canScaleUp(int currentCumulativeParallelism,
int newCumulativeParallelism)
This method gets called whenever new resources are available to the scheduler to scale up.
|
public ReactiveScaleUpController(org.apache.flink.configuration.Configuration configuration)
public boolean canScaleUp(int currentCumulativeParallelism,
int newCumulativeParallelism)
ScaleUpControllercanScaleUp 在接口中 ScaleUpControllercurrentCumulativeParallelism - Cumulative parallelism of the currently running job
graph.newCumulativeParallelism - Potential new cumulative parallelism with the additional
resources.Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.