public class RocksDBStateBackendFactory extends Object implements StateBackendFactory<RocksDBStateBackend>
RocksDBStateBackend
from a configuration.Constructor and Description |
---|
RocksDBStateBackendFactory() |
Modifier and Type | Method and Description |
---|---|
RocksDBStateBackend |
createFromConfig(Configuration config)
Creates the state backend, optionally using the given configuration.
|
public RocksDBStateBackend createFromConfig(Configuration config) throws IllegalConfigurationException, IOException
StateBackendFactory
createFromConfig
in interface StateBackendFactory<RocksDBStateBackend>
config
- The Flink configuration (loaded by the TaskManager).IllegalConfigurationException
- If the configuration misses critical values, or specifies invalid valuesIOException
- If the state backend initialization failed due to an I/O exceptionCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.