| 程序包 | 说明 |
|---|---|
| org.apache.flink.runtime.checkpoint | |
| org.apache.flink.runtime.checkpoint.hooks | |
| org.apache.flink.runtime.checkpoint.metadata |
| 限定符和类型 | 方法和说明 |
|---|---|
Collection<MasterState> |
CompletedCheckpoint.getMasterHookStates() |
List<MasterState> |
PendingCheckpoint.getMasterStates() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
PendingCheckpoint.acknowledgeMasterState(String identifier,
MasterState state)
Acknowledges a master state (state generated on the checkpoint coordinator) to the pending
checkpoint.
|
| 构造器和说明 |
|---|
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) |
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,
CheckpointProperties restoredProps) |
| 限定符和类型 | 方法和说明 |
|---|---|
static <T> CompletableFuture<MasterState> |
MasterHooks.triggerHook(MasterTriggerRestoreHook<T> hook,
long checkpointId,
long timestamp,
Executor executor)
Trigger master hook and return a completable future with state.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
MasterHooks.restoreMasterHooks(Map<String,MasterTriggerRestoreHook<?>> masterHooks,
Collection<MasterState> states,
long checkpointId,
boolean allowUnmatchedState,
org.slf4j.Logger log)
Calls the restore method given checkpoint master hooks and passes the given master state to
them where state with a matching name is found.
|
| 限定符和类型 | 方法和说明 |
|---|---|
protected MasterState |
MetadataV2V3SerializerBase.deserializeMasterState(DataInputStream dis) |
| 限定符和类型 | 方法和说明 |
|---|---|
Collection<MasterState> |
CheckpointMetadata.getMasterStates() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
MetadataV2V3SerializerBase.serializeMasterState(MasterState state,
DataOutputStream dos) |
| 构造器和说明 |
|---|
CheckpointMetadata(long checkpointId,
Collection<OperatorState> operatorStates,
Collection<MasterState> masterStates) |
CheckpointMetadata(long checkpointId,
Collection<OperatorState> operatorStates,
Collection<MasterState> masterStates,
CheckpointProperties properties) |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.