@PublicEvolving public class MemoryStateBackendFactory extends Object implements StateBackendFactory<MemoryStateBackend>
MemoryStateBackend from a configuration.| Constructor and Description |
|---|
MemoryStateBackendFactory() |
| Modifier and Type | Method and Description |
|---|---|
MemoryStateBackend |
createFromConfig(org.apache.flink.configuration.ReadableConfig config,
ClassLoader classLoader)
Creates the state backend, optionally using the given configuration.
|
public MemoryStateBackend createFromConfig(org.apache.flink.configuration.ReadableConfig config, ClassLoader classLoader)
StateBackendFactorycreateFromConfig in interface StateBackendFactory<MemoryStateBackend>config - The Flink configuration (loaded by the TaskManager).classLoader - The class loader that should be used to load the state backend.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.