@PublicEvolving public class FsStateBackendFactory extends Object implements StateBackendFactory<FsStateBackend>
FsStateBackend
from a configuration.Constructor and Description |
---|
FsStateBackendFactory() |
Modifier and Type | Method and Description |
---|---|
FsStateBackend |
createFromConfig(ReadableConfig config,
ClassLoader classLoader)
Creates the state backend, optionally using the given configuration.
|
public FsStateBackend createFromConfig(ReadableConfig config, ClassLoader classLoader) throws IllegalConfigurationException
StateBackendFactory
createFromConfig
in interface StateBackendFactory<FsStateBackend>
config
- The Flink configuration (loaded by the TaskManager).classLoader
- The class loader that should be used to load the state backend.IllegalConfigurationException
- If the configuration misses critical values, or
specifies invalid valuesCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.