public class EnforceMinimalIncreaseRescalingController extends Object implements RescalingController
| Constructor and Description |
|---|
EnforceMinimalIncreaseRescalingController(org.apache.flink.configuration.Configuration configuration) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldRescale(VertexParallelism currentParallelism,
VertexParallelism newParallelism)
This method gets called whenever new resources or
resource
requirements are available and the scheduler needs to design whether to rescale or not. |
public EnforceMinimalIncreaseRescalingController(org.apache.flink.configuration.Configuration configuration)
public boolean shouldRescale(VertexParallelism currentParallelism, VertexParallelism newParallelism)
RescalingControllerresource
requirements are available and the scheduler needs to design whether to rescale or not.shouldRescale in interface RescalingControllercurrentParallelism - parallelism of the currently running job graph.newParallelism - Potential new parallelism with the additional resources.Copyright © 2014–2025 The Apache Software Foundation. All rights reserved.