@PublicEvolving public class HashMapStateBackendFactory extends Object implements StateBackendFactory<HashMapStateBackend>
HashMapStateBackend from a configuration.| 构造器和说明 |
|---|
HashMapStateBackendFactory() |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 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.