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