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(Configuration config)
Creates the state backend, optionally using the given configuration.
|
T createFromConfig(Configuration config) throws IllegalConfigurationException, IOException
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–2019 The Apache Software Foundation. All rights reserved.