public interface ConfigurableStateBackend
限定符和类型 | 方法和说明 |
---|---|
StateBackend |
configure(org.apache.flink.configuration.Configuration config)
Creates a variant of the state backend that applies additional configuration parameters.
|
StateBackend configure(org.apache.flink.configuration.Configuration config) throws org.apache.flink.configuration.IllegalConfigurationException
Settings that were directly done on the original state backend object in the application program typically have precedence over setting picked up from the configuration.
If no configuration is applied, or if the method directly applies configuration values to the (mutable) state backend object, this method may return the original state backend object. Otherwise it typically returns a modified copy.
config
- The configuration to pick the values from.org.apache.flink.configuration.IllegalConfigurationException
- Thrown if the configuration contained invalid entries.Copyright © 2014–2019 The Apache Software Foundation. All rights reserved.