public class FsStateBackendFactory extends Object implements StateBackendFactory<FsStateBackend>
FsStateBackend
from a configuration.Modifier and Type | Field and Description |
---|---|
static String |
CHECKPOINT_DIRECTORY_URI_CONF_KEY
The key under which the config stores the directory where checkpoints should be stored
|
static String |
MEMORY_THRESHOLD_CONF_KEY
The key under which the config stores the threshold for state to be store in memory,
rather than in files
|
Constructor and Description |
---|
FsStateBackendFactory() |
Modifier and Type | Method and Description |
---|---|
FsStateBackend |
createFromConfig(Configuration config)
Creates the state backend, optionally using the given configuration.
|
public static final String CHECKPOINT_DIRECTORY_URI_CONF_KEY
public static final String MEMORY_THRESHOLD_CONF_KEY
public FsStateBackend createFromConfig(Configuration config) throws Exception
StateBackendFactory
createFromConfig
in interface StateBackendFactory<FsStateBackend>
config
- The Flink configuration (loaded by the TaskManager).Exception
- Exceptions during instantiation can be forwarded.Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.