public class CheckpointingOptions extends Object
Modifier and Type | Field and Description |
---|---|
static ConfigOption<Boolean> |
ASYNC_SNAPSHOTS
Option whether the state backend should use an asynchronous snapshot method where
possible and configurable.
|
static ConfigOption<String> |
CHECKPOINTS_DIRECTORY
The default directory used for storing the data files and meta data of checkpoints in a Flink supported filesystem.
|
static ConfigOption<Integer> |
FS_SMALL_FILE_THRESHOLD
The minimum size of state data files.
|
static ConfigOption<Integer> |
FS_WRITE_BUFFER_SIZE
The default size of the write buffer for the checkpoint streams that write to file systems.
|
static ConfigOption<Boolean> |
INCREMENTAL_CHECKPOINTS
Option whether the state backend should create incremental checkpoints,
if possible.
|
static ConfigOption<Boolean> |
LOCAL_RECOVERY
This option configures local recovery for this state backend.
|
static ConfigOption<String> |
LOCAL_RECOVERY_TASK_MANAGER_STATE_ROOT_DIRS
The config parameter defining the root directories for storing file-based state for local recovery.
|
static ConfigOption<Integer> |
MAX_RETAINED_CHECKPOINTS
The maximum number of completed checkpoints to retain.
|
static ConfigOption<String> |
SAVEPOINT_DIRECTORY
The default directory for savepoints.
|
static ConfigOption<String> |
STATE_BACKEND
The state backend to be used to store and checkpoint state.
|
Constructor and Description |
---|
CheckpointingOptions() |
public static final ConfigOption<String> STATE_BACKEND
public static final ConfigOption<Integer> MAX_RETAINED_CHECKPOINTS
public static final ConfigOption<Boolean> ASYNC_SNAPSHOTS
Some state backends may not support asynchronous snapshots, or only support asynchronous snapshots, and ignore this option.
public static final ConfigOption<Boolean> INCREMENTAL_CHECKPOINTS
Some state backends may not support incremental checkpoints and ignore this option.
public static final ConfigOption<Boolean> LOCAL_RECOVERY
Local recovery currently only covers keyed state backends. Currently, MemoryStateBackend does not support local recovery and ignore this option.
public static final ConfigOption<String> LOCAL_RECOVERY_TASK_MANAGER_STATE_ROOT_DIRS
Local recovery currently only covers keyed state backends. Currently, MemoryStateBackend does not support local recovery and ignore this option.
public static final ConfigOption<String> SAVEPOINT_DIRECTORY
public static final ConfigOption<String> CHECKPOINTS_DIRECTORY
public static final ConfigOption<Integer> FS_SMALL_FILE_THRESHOLD
public static final ConfigOption<Integer> FS_WRITE_BUFFER_SIZE
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.