T
- The type of the checkpoint storage created.@PublicEvolving public interface CheckpointStorageFactory<T extends CheckpointStorage>
CheckpointStorage
. The storage creation gets a
configuration object that can be used to read further config values.
The checkpoint storage factory is typically specified in the configuration to produce a configured storage backend.
Modifier and Type | Method and Description |
---|---|
T |
createFromConfig(ReadableConfig config,
ClassLoader classLoader)
Creates the checkpoint storage, optionally using the given configuration.
|
T createFromConfig(ReadableConfig config, ClassLoader classLoader) throws IllegalConfigurationException
config
- The Flink configuration (loaded by the TaskManager).classLoader
- The clsas loader that should be used to load the checkpoint storage.IllegalConfigurationException
- If the configuration misses critical values, or
specifies invalid valuesCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.