| Package | Description |
|---|---|
| org.apache.flink.runtime.checkpoint | |
| org.apache.flink.runtime.jobgraph | |
| org.apache.flink.runtime.state | |
| org.apache.flink.runtime.util |
| Modifier and Type | Method and Description |
|---|---|
CompletedCheckpointStore |
PerJobCheckpointRecoveryFactory.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 |
StandaloneCheckpointRecoveryFactory.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. |
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) |
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.
|
| Constructor and Description |
|---|
EmbeddedCompletedCheckpointStore(int maxRetainedCheckpoints,
Collection<CompletedCheckpoint> initialCheckpoints,
RestoreMode restoreMode) |
StandaloneCompletedCheckpointStore(int maxNumberOfCheckpointsToRetain,
SharedStateRegistryFactory sharedStateRegistryFactory,
Executor ioExecutor,
RestoreMode restoreMode)
Creates
StandaloneCompletedCheckpointStore. |
| Modifier and Type | Field and Description |
|---|---|
static RestoreMode |
RestoreMode.DEFAULT |
| Modifier and Type | Field and Description |
|---|---|
static org.apache.flink.configuration.ConfigOption<RestoreMode> |
SavepointConfigOptions.RESTORE_MODE
Describes the mode how Flink should restore from the given savepoint or retained checkpoint.
|
| Modifier and Type | Method and Description |
|---|---|
RestoreMode |
SavepointRestoreSettings.getRestoreMode()
Tells how to restore from the given savepoint.
|
static RestoreMode |
RestoreMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RestoreMode[] |
RestoreMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static SavepointRestoreSettings |
SavepointRestoreSettings.forPath(String savepointPath,
boolean allowNonRestoredState,
RestoreMode restoreMode) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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–2022 The Apache Software Foundation. All rights reserved.