@PublicEvolving public class EmbeddedRocksDBStateBackendFactory extends Object implements StateBackendFactory<EmbeddedRocksDBStateBackend>
EmbeddedRocksDBStateBackend
from a configuration.Constructor and Description |
---|
EmbeddedRocksDBStateBackendFactory() |
Modifier and Type | Method and Description |
---|---|
EmbeddedRocksDBStateBackend |
createFromConfig(ReadableConfig config,
ClassLoader classLoader)
Creates the state backend, optionally using the given configuration.
|
public EmbeddedRocksDBStateBackend createFromConfig(ReadableConfig config, ClassLoader classLoader) throws IllegalConfigurationException
StateBackendFactory
createFromConfig
in interface StateBackendFactory<EmbeddedRocksDBStateBackend>
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.