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