| 程序包 | 说明 |
|---|---|
| org.apache.flink.runtime.checkpoint |
| 限定符和类型 | 方法和说明 |
|---|---|
static CheckpointProperties |
CheckpointProperties.forCheckpoint(CheckpointRetentionPolicy policy)
Creates the checkpoint properties for a checkpoint.
|
static CheckpointProperties |
CheckpointProperties.forSavepoint(boolean forced,
org.apache.flink.core.execution.SavepointFormatType formatType)
Creates the checkpoint properties for a (manually triggered) savepoint.
|
static CheckpointProperties |
CheckpointProperties.forSyncSavepoint(boolean forced,
boolean terminate,
org.apache.flink.core.execution.SavepointFormatType formatType) |
static CheckpointProperties |
CheckpointProperties.forUnclaimedSnapshot()
Creates the checkpoint properties for a snapshot restored in
RestoreMode.NO_CLAIM. |
CheckpointProperties |
AbstractCheckpointStats.getProperties()
Returns the properties of this checkpoint.
|
CheckpointProperties |
CompletedCheckpoint.getProperties() |
CheckpointProperties |
RestoredCheckpointStats.getProperties()
Returns the properties of the restored checkpoint.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
CheckpointFailureManager.handleCheckpointException(PendingCheckpoint pendingCheckpoint,
CheckpointProperties checkpointProperties,
CheckpointException exception,
ExecutionAttemptID executionAttemptID,
org.apache.flink.api.common.JobID job,
PendingCheckpointStats pendingCheckpointStats,
CheckpointStatsTracker statsTracker)
Failures on JM:
all checkpoints - go against failure counter.
|
static CompletedCheckpoint |
Checkpoints.loadAndValidateCheckpoint(org.apache.flink.api.common.JobID jobId,
Map<JobVertexID,ExecutionJobVertex> tasks,
CompletedCheckpointStorageLocation location,
ClassLoader classLoader,
boolean allowNonRestoredState,
CheckpointProperties checkpointProperties,
RestoreMode restoreMode) |
CompletableFuture<CompletedCheckpoint> |
CheckpointCoordinator.triggerCheckpoint(CheckpointProperties props,
String externalSavepointLocation,
boolean isPeriodic) |
| 构造器和说明 |
|---|
CompletedCheckpoint(org.apache.flink.api.common.JobID job,
long checkpointID,
long timestamp,
long completionTimestamp,
Map<OperatorID,OperatorState> operatorStates,
Collection<MasterState> masterHookStates,
CheckpointProperties props,
CompletedCheckpointStorageLocation storageLocation,
CompletedCheckpointStats completedCheckpointStats) |
PendingCheckpoint(org.apache.flink.api.common.JobID jobId,
long checkpointId,
long checkpointTimestamp,
CheckpointPlan checkpointPlan,
Collection<OperatorID> operatorCoordinatorsToConfirm,
Collection<String> masterStateIdentifiers,
CheckpointProperties props,
CompletableFuture<CompletedCheckpoint> onCompletionPromise,
PendingCheckpointStats pendingCheckpointStats) |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.