| Modifier and Type | Method and Description |
|---|---|
static CheckpointStorage |
Checkpoints.loadCheckpointStorage(org.apache.flink.configuration.Configuration configuration,
ClassLoader classLoader,
org.slf4j.Logger logger) |
| Modifier and Type | Method and Description |
|---|---|
static void |
Checkpoints.disposeSavepoint(String pointer,
CheckpointStorage checkpointStorage,
ClassLoader classLoader) |
| Constructor and Description |
|---|
CheckpointCoordinator(org.apache.flink.api.common.JobID job,
CheckpointCoordinatorConfiguration chkConfig,
Collection<OperatorCoordinatorCheckpointContext> coordinatorsToCheckpoint,
CheckpointIDCounter checkpointIDCounter,
CompletedCheckpointStore completedCheckpointStore,
CheckpointStorage checkpointStorage,
Executor executor,
CheckpointsCleaner checkpointsCleaner,
org.apache.flink.util.concurrent.ScheduledExecutor timer,
CheckpointFailureManager failureManager,
CheckpointPlanCalculator checkpointPlanCalculator,
ExecutionAttemptMappingProvider attemptMappingProvider,
CheckpointStatsTracker statsTracker) |
CheckpointCoordinator(org.apache.flink.api.common.JobID job,
CheckpointCoordinatorConfiguration chkConfig,
Collection<OperatorCoordinatorCheckpointContext> coordinatorsToCheckpoint,
CheckpointIDCounter checkpointIDCounter,
CompletedCheckpointStore completedCheckpointStore,
CheckpointStorage checkpointStorage,
Executor executor,
CheckpointsCleaner checkpointsCleaner,
org.apache.flink.util.concurrent.ScheduledExecutor timer,
CheckpointFailureManager failureManager,
CheckpointPlanCalculator checkpointPlanCalculator,
ExecutionAttemptMappingProvider attemptMappingProvider,
org.apache.flink.util.clock.Clock clock,
CheckpointStatsTracker statsTracker,
java.util.function.BiFunction<Set<ExecutionJobVertex>,Map<OperatorID,OperatorState>,VertexFinishedStateChecker> vertexFinishedStateCheckerFactory) |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultExecutionGraph.enableCheckpointing(CheckpointCoordinatorConfiguration chkConfig,
List<MasterTriggerRestoreHook<?>> masterHooks,
CheckpointIDCounter checkpointIDCounter,
CompletedCheckpointStore checkpointStore,
StateBackend checkpointStateBackend,
CheckpointStorage checkpointStorage,
CheckpointStatsTracker statsTracker,
CheckpointsCleaner checkpointsCleaner) |
void |
ExecutionGraph.enableCheckpointing(CheckpointCoordinatorConfiguration chkConfig,
List<MasterTriggerRestoreHook<?>> masterHooks,
CheckpointIDCounter checkpointIDCounter,
CompletedCheckpointStore checkpointStore,
StateBackend checkpointStateBackend,
CheckpointStorage checkpointStorage,
CheckpointStatsTracker statsTracker,
CheckpointsCleaner checkpointsCleaner) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.flink.util.SerializedValue<CheckpointStorage> |
JobCheckpointingSettings.getDefaultCheckpointStorage() |
| Constructor and Description |
|---|
JobCheckpointingSettings(CheckpointCoordinatorConfiguration checkpointCoordinatorConfiguration,
org.apache.flink.util.SerializedValue<StateBackend> defaultStateBackend,
org.apache.flink.util.TernaryBoolean changelogStateBackendEnabled,
org.apache.flink.util.SerializedValue<CheckpointStorage> defaultCheckpointStorage,
org.apache.flink.util.SerializedValue<MasterTriggerRestoreHook.Factory[]> masterHooks) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
CheckpointStorageFactory<T extends CheckpointStorage>
A factory to create a specific
CheckpointStorage. |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ConfigurableCheckpointStorage
An interface for checkpoint storage types that pick up additional parameters from a
configuration.
|
| Modifier and Type | Method and Description |
|---|---|
CheckpointStorage |
ConfigurableCheckpointStorage.configure(org.apache.flink.configuration.ReadableConfig config,
ClassLoader classLoader)
Creates a variant of the checkpoint storage that applies additional configuration parameters.
|
static CheckpointStorage |
CheckpointStorageLoader.load(CheckpointStorage fromApplication,
org.apache.flink.core.fs.Path defaultSavepointDirectory,
StateBackend configuredStateBackend,
org.apache.flink.configuration.Configuration config,
ClassLoader classLoader,
org.slf4j.Logger logger)
Loads the configured
CheckpointStorage for the job based on the following precedent
rules: |
| Modifier and Type | Method and Description |
|---|---|
static Optional<CheckpointStorage> |
CheckpointStorageLoader.fromConfig(org.apache.flink.configuration.ReadableConfig config,
ClassLoader classLoader,
org.slf4j.Logger logger)
Loads the checkpoint storage from the configuration, from the parameter
'state.checkpoint-storage', as defined in
CheckpointingOptions.CHECKPOINT_STORAGE. |
| Modifier and Type | Method and Description |
|---|---|
static CheckpointStorage |
CheckpointStorageLoader.load(CheckpointStorage fromApplication,
org.apache.flink.core.fs.Path defaultSavepointDirectory,
StateBackend configuredStateBackend,
org.apache.flink.configuration.Configuration config,
ClassLoader classLoader,
org.slf4j.Logger logger)
Loads the configured
CheckpointStorage for the job based on the following precedent
rules: |
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractFileStateBackend
Deprecated.
State backends should no longer implement
CheckpointStorage functionality.
Please inherit AbstractStateBackend instead. Custom checkpoint storage can be
additionally implemented as a separate class. |
class |
FsStateBackend
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
MemoryStateBackend
Deprecated.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FileSystemCheckpointStorage
FileSystemCheckpointStorage checkpoints state as files to a file system. |
class |
JobManagerCheckpointStorage
The
CheckpointStorage checkpoints state directly to the JobManager's memory (hence the
name), but savepoints will be persisted to a file system. |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.