Class MemoryStateBackendFactory
- java.lang.Object
-
- org.apache.flink.runtime.state.memory.MemoryStateBackendFactory
-
- All Implemented Interfaces:
StateBackendFactory<MemoryStateBackend>
@PublicEvolving public class MemoryStateBackendFactory extends Object implements StateBackendFactory<MemoryStateBackend>
A factory that creates anMemoryStateBackendfrom a configuration.
-
-
Constructor Summary
Constructors Constructor Description MemoryStateBackendFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MemoryStateBackendcreateFromConfig(org.apache.flink.configuration.ReadableConfig config, ClassLoader classLoader)Creates the state backend, optionally using the given configuration.
-
-
-
Method Detail
-
createFromConfig
public MemoryStateBackend createFromConfig(org.apache.flink.configuration.ReadableConfig config, ClassLoader classLoader)
Description copied from interface:StateBackendFactoryCreates the state backend, optionally using the given configuration.- Specified by:
createFromConfigin interfaceStateBackendFactory<MemoryStateBackend>- 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.
-
-