@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(org.apache.flink.configuration.ReadableConfig config,
ClassLoader classLoader)
Creates the state backend, optionally using the given configuration.
|
public HashMapStateBackend createFromConfig(org.apache.flink.configuration.ReadableConfig config, ClassLoader classLoader) throws org.apache.flink.configuration.IllegalConfigurationException
StateBackendFactorycreateFromConfig 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.org.apache.flink.configuration.IllegalConfigurationException - If the configuration misses critical values, or
specifies invalid valuesCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.