public class RocksDBStateBackendFactory extends Object implements StateBackendFactory<FsStateBackend>
RocksDBStateBackend
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
|
protected static org.slf4j.Logger |
LOG |
static String |
ROCKSDB_CHECKPOINT_DIRECTORY_URI_CONF_KEY
The key under which the config stores the directory where RocksDB should be stored
|
Constructor and Description |
---|
RocksDBStateBackendFactory() |
Modifier and Type | Method and Description |
---|---|
AbstractStateBackend |
createFromConfig(Configuration config)
Creates the state backend, optionally using the given configuration.
|
protected static final org.slf4j.Logger LOG
public static final String CHECKPOINT_DIRECTORY_URI_CONF_KEY
public static final String ROCKSDB_CHECKPOINT_DIRECTORY_URI_CONF_KEY
public AbstractStateBackend 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.