public class AdaptiveParallelism extends Object
Constructor and Description |
---|
AdaptiveParallelism() |
Modifier and Type | Method and Description |
---|---|
static int |
getDefaultMaxParallelism(org.apache.flink.configuration.ReadableConfig configuration,
org.apache.flink.api.common.ExecutionConfig executionConfig)
Get default max parallelism of AdaptiveBatchScheduler of Flink.
|
static boolean |
isEnabled(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment env) |
public static boolean isEnabled(org.apache.flink.streaming.api.environment.StreamExecutionEnvironment env)
public static int getDefaultMaxParallelism(org.apache.flink.configuration.ReadableConfig configuration, org.apache.flink.api.common.ExecutionConfig executionConfig)
org.apache.flink.runtime.scheduler.adaptivebatch.AdaptiveBatchSchedulerFactory#getDefaultMaxParallelism(Configuration,
ExecutionConfig)
.Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.