Class HashMapStateBackendFactory
- java.lang.Object
-
- org.apache.flink.runtime.state.hashmap.HashMapStateBackendFactory
-
- All Implemented Interfaces:
StateBackendFactory<HashMapStateBackend>
@PublicEvolving public class HashMapStateBackendFactory extends Object implements StateBackendFactory<HashMapStateBackend>
A factory that creates anHashMapStateBackend
from a configuration.
-
-
Constructor Summary
Constructors Constructor Description HashMapStateBackendFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HashMapStateBackend
createFromConfig(ReadableConfig config, ClassLoader classLoader)
Creates the state backend, optionally using the given configuration.
-
-
-
Method Detail
-
createFromConfig
public HashMapStateBackend createFromConfig(ReadableConfig config, ClassLoader classLoader) throws IllegalConfigurationException
Description copied from interface:StateBackendFactory
Creates the state backend, optionally using the given configuration.- Specified by:
createFromConfig
in interfaceStateBackendFactory<HashMapStateBackend>
- Parameters:
config
- The Flink configuration (loaded by the TaskManager).classLoader
- The class loader that should be used to load the state backend.- Returns:
- The created state backend.
- Throws:
IllegalConfigurationException
- If the configuration misses critical values, or specifies invalid values
-
-