public final class BenchmarkGlobalConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static String |
BENCHMARK_CONF_FILENAME |
Modifier and Type | Method and Description |
---|---|
static org.apache.flink.configuration.Configuration |
loadConfiguration()
Loads the global configuration from the environment.
|
static org.apache.flink.configuration.Configuration |
loadConfiguration(org.apache.flink.configuration.Configuration dynamicProperties)
Loads the global configuration and adds the given dynamic properties configuration.
|
static org.apache.flink.configuration.Configuration |
loadConfiguration(String configDir)
Loads the configuration files from the specified directory.
|
static org.apache.flink.configuration.Configuration |
loadConfiguration(String configDir,
org.apache.flink.configuration.Configuration dynamicProperties)
Loads the configuration files from the specified directory.
|
public static final String BENCHMARK_CONF_FILENAME
public static org.apache.flink.configuration.Configuration loadConfiguration()
public static org.apache.flink.configuration.Configuration loadConfiguration(org.apache.flink.configuration.Configuration dynamicProperties)
dynamicProperties
- The given dynamic propertiespublic static org.apache.flink.configuration.Configuration loadConfiguration(String configDir)
YAML files are supported as configuration files.
configDir
- the directory which contains the configuration filespublic static org.apache.flink.configuration.Configuration loadConfiguration(String configDir, @Nullable org.apache.flink.configuration.Configuration dynamicProperties)
configDir
- directory to load the configuration fromdynamicProperties
- configuration file containing the dynamic properties. Null if none.Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.