Package org.apache.flink.state.forst
Class ForStStateBackendFactory
- java.lang.Object
-
- org.apache.flink.state.forst.ForStStateBackendFactory
-
- All Implemented Interfaces:
StateBackendFactory<ForStStateBackend>
@Experimental public class ForStStateBackendFactory extends Object implements StateBackendFactory<ForStStateBackend>
A factory that creates anForStStateBackend
from a configuration.
-
-
Constructor Summary
Constructors Constructor Description ForStStateBackendFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ForStStateBackend
createFromConfig(ReadableConfig config, ClassLoader classLoader)
Creates the state backend, optionally using the given configuration.
-
-
-
Method Detail
-
createFromConfig
public ForStStateBackend createFromConfig(ReadableConfig config, ClassLoader classLoader) throws IllegalConfigurationException
Description copied from interface:StateBackendFactory
Creates the state backend, optionally using the given configuration.- Specified by:
createFromConfig
in interfaceStateBackendFactory<ForStStateBackend>
- 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.
- Throws:
IllegalConfigurationException
- If the configuration misses critical values, or specifies invalid values
-
-