@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(Configuration config,
ClassLoader classLoader)
Creates the state backend, optionally using the given configuration.
|
public MemoryStateBackend createFromConfig(Configuration config, ClassLoader classLoader)
StateBackendFactory
createFromConfig
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–2020 The Apache Software Foundation. All rights reserved.