T
- The type of the state backend created.@PublicEvolving public interface StateBackendFactory<T extends StateBackend>
The state backend factory is typically specified in the configuration to produce a configured state backend.
Modifier and Type | Method and Description |
---|---|
T |
createFromConfig(ReadableConfig config,
ClassLoader classLoader)
Creates the state backend, optionally using the given configuration.
|
T createFromConfig(ReadableConfig config, ClassLoader classLoader) throws IllegalConfigurationException, IOException
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 valuesIOException
- If the state backend initialization failed due to an I/O exceptionCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.