| 程序包 | 说明 |
|---|---|
| org.apache.flink.runtime.checkpoint | |
| org.apache.flink.runtime.jobgraph | |
| org.apache.flink.runtime.state | |
| org.apache.flink.runtime.util |
| 限定符和类型 | 方法和说明 |
|---|---|
CompletedCheckpointStore |
PerJobCheckpointRecoveryFactory.createRecoveredCompletedCheckpointStore(org.apache.flink.api.common.JobID jobId,
int maxNumberOfCheckpointsToRetain,
SharedStateRegistryFactory sharedStateRegistryFactory,
Executor ioExecutor,
RestoreMode restoreMode) |
CompletedCheckpointStore |
StandaloneCheckpointRecoveryFactory.createRecoveredCompletedCheckpointStore(org.apache.flink.api.common.JobID jobId,
int maxNumberOfCheckpointsToRetain,
SharedStateRegistryFactory sharedStateRegistryFactory,
Executor ioExecutor,
RestoreMode restoreMode) |
CompletedCheckpointStore |
ZooKeeperCheckpointRecoveryFactory.createRecoveredCompletedCheckpointStore(org.apache.flink.api.common.JobID jobId,
int maxNumberOfCheckpointsToRetain,
SharedStateRegistryFactory sharedStateRegistryFactory,
Executor ioExecutor,
RestoreMode restoreMode) |
CompletedCheckpointStore |
CheckpointRecoveryFactory.createRecoveredCompletedCheckpointStore(org.apache.flink.api.common.JobID jobId,
int maxNumberOfCheckpointsToRetain,
SharedStateRegistryFactory sharedStateRegistryFactory,
Executor ioExecutor,
RestoreMode restoreMode)
Creates a RECOVERED
CompletedCheckpointStore instance for a job. |
StoreType |
PerJobCheckpointRecoveryFactory.CheckpointStoreRecoveryHelper.recoverCheckpointStore(int maxNumberOfCheckpointsToRetain,
StoreType previousStore,
SharedStateRegistryFactory sharedStateRegistryFactory,
Executor ioExecutor,
RestoreMode restoreMode) |
void |
CompletedCheckpoint.registerSharedStatesAfterRestored(SharedStateRegistry sharedStateRegistry,
RestoreMode restoreMode)
Register all shared states in the given registry.
|
| 构造器和说明 |
|---|
EmbeddedCompletedCheckpointStore(int maxRetainedCheckpoints,
Collection<CompletedCheckpoint> initialCheckpoints,
RestoreMode restoreMode) |
StandaloneCompletedCheckpointStore(int maxNumberOfCheckpointsToRetain,
SharedStateRegistryFactory sharedStateRegistryFactory,
Executor ioExecutor,
RestoreMode restoreMode)
Creates
StandaloneCompletedCheckpointStore. |
| 限定符和类型 | 字段和说明 |
|---|---|
static RestoreMode |
RestoreMode.DEFAULT |
| 限定符和类型 | 字段和说明 |
|---|---|
static org.apache.flink.configuration.ConfigOption<RestoreMode> |
SavepointConfigOptions.RESTORE_MODE
Describes the mode how Flink should restore from the given savepoint or retained checkpoint.
|
| 限定符和类型 | 方法和说明 |
|---|---|
RestoreMode |
SavepointRestoreSettings.getRestoreMode()
Tells how to restore from the given savepoint.
|
static RestoreMode |
RestoreMode.valueOf(String name)
返回带有指定名称的该类型的枚举常量。
|
static RestoreMode[] |
RestoreMode.values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
| 限定符和类型 | 方法和说明 |
|---|---|
static SavepointRestoreSettings |
SavepointRestoreSettings.forPath(String savepointPath,
boolean allowNonRestoredState,
RestoreMode restoreMode) |
| 限定符和类型 | 方法和说明 |
|---|---|
SharedStateRegistry |
SharedStateRegistryFactory.create(Executor deleteExecutor,
Collection<CompletedCheckpoint> checkpoints,
RestoreMode restoreMode)
Factory method for
SharedStateRegistry. |
void |
SharedStateRegistryImpl.registerAllAfterRestored(CompletedCheckpoint checkpoint,
RestoreMode mode) |
void |
SharedStateRegistry.registerAllAfterRestored(CompletedCheckpoint checkpoint,
RestoreMode mode)
Set the lowest checkpoint ID below which no state is discarded, inclusive.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static CompletedCheckpointStore |
ZooKeeperUtils.createCompletedCheckpoints(org.apache.flink.shaded.curator5.org.apache.curator.framework.CuratorFramework client,
org.apache.flink.configuration.Configuration configuration,
int maxNumberOfCheckpointsToRetain,
SharedStateRegistryFactory sharedStateRegistryFactory,
Executor ioExecutor,
Executor executor,
RestoreMode restoreMode)
Creates a
DefaultCompletedCheckpointStore instance with ZooKeeperStateHandleStore. |
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.