@Internal public class ExecutionConfigAccessor extends Object
Configuration.| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.configuration.Configuration |
applyToConfiguration(org.apache.flink.configuration.Configuration baseConfiguration) |
static ExecutionConfigAccessor |
fromConfiguration(org.apache.flink.configuration.Configuration configuration)
Creates an
ExecutionConfigAccessor based on the provided Configuration. |
static <T> ExecutionConfigAccessor |
fromProgramOptions(ProgramOptions options,
List<T> jobJars)
Creates an
ExecutionConfigAccessor based on the provided ProgramOptions as
provided by the user through the CLI. |
List<URL> |
getClasspaths() |
boolean |
getDetachedMode() |
List<URL> |
getJars() |
int |
getParallelism() |
org.apache.flink.runtime.jobgraph.SavepointRestoreSettings |
getSavepointRestoreSettings() |
boolean |
isShutdownOnAttachedExit() |
public static ExecutionConfigAccessor fromConfiguration(org.apache.flink.configuration.Configuration configuration)
ExecutionConfigAccessor based on the provided Configuration.public static <T> ExecutionConfigAccessor fromProgramOptions(ProgramOptions options, List<T> jobJars)
ExecutionConfigAccessor based on the provided ProgramOptions as
provided by the user through the CLI.public org.apache.flink.configuration.Configuration applyToConfiguration(org.apache.flink.configuration.Configuration baseConfiguration)
public List<URL> getJars() throws MalformedURLException
MalformedURLExceptionpublic List<URL> getClasspaths() throws MalformedURLException
MalformedURLExceptionpublic int getParallelism()
public boolean getDetachedMode()
public org.apache.flink.runtime.jobgraph.SavepointRestoreSettings getSavepointRestoreSettings()
public boolean isShutdownOnAttachedExit()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.