| 限定符和类型 | 方法和说明 |
|---|---|
static CheckpointStorage |
Checkpoints.loadCheckpointStorage(org.apache.flink.configuration.Configuration configuration,
ClassLoader classLoader,
org.slf4j.Logger logger) |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
Checkpoints.disposeSavepoint(String pointer,
CheckpointStorage checkpointStorage,
ClassLoader classLoader) |
| 构造器和说明 |
|---|
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) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DefaultExecutionGraph.enableCheckpointing(CheckpointCoordinatorConfiguration chkConfig,
List<MasterTriggerRestoreHook<?>> masterHooks,
CheckpointIDCounter checkpointIDCounter,
CompletedCheckpointStore checkpointStore,
StateBackend checkpointStateBackend,
CheckpointStorage checkpointStorage,
CheckpointStatsTracker statsTracker,
CheckpointsCleaner checkpointsCleaner,
String changelogStorageName) |
void |
ExecutionGraph.enableCheckpointing(CheckpointCoordinatorConfiguration chkConfig,
List<MasterTriggerRestoreHook<?>> masterHooks,
CheckpointIDCounter checkpointIDCounter,
CompletedCheckpointStore checkpointStore,
StateBackend checkpointStateBackend,
CheckpointStorage checkpointStorage,
CheckpointStatsTracker statsTracker,
CheckpointsCleaner checkpointsCleaner,
String changelogStorage) |
| 限定符和类型 | 方法和说明 |
|---|---|
org.apache.flink.util.SerializedValue<CheckpointStorage> |
JobCheckpointingSettings.getDefaultCheckpointStorage() |
| 构造器和说明 |
|---|
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) |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
CheckpointStorageFactory<T extends CheckpointStorage>
A factory to create a specific
CheckpointStorage. |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
ConfigurableCheckpointStorage
An interface for checkpoint storage types that pick up additional parameters from a
configuration.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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:
1) If the jobs configured StateBackend implements CheckpointStorage it
will always be used. |
| 限定符和类型 | 方法和说明 |
|---|---|
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. |
| 限定符和类型 | 方法和说明 |
|---|---|
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:
1) If the jobs configured StateBackend implements CheckpointStorage it
will always be used. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractFileStateBackend
已过时。
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
已过时。
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
MemoryStateBackend
已过时。
|
| 限定符和类型 | 类和说明 |
|---|---|
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.