| Package | Description |
|---|---|
| org.apache.flink.runtime.checkpoint | |
| org.apache.flink.runtime.jobgraph |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CheckpointCoordinator.restoreSavepoint(SavepointRestoreSettings restoreSettings,
Map<JobVertexID,ExecutionJobVertex> tasks,
ClassLoader userClassLoader)
Restore the state with given savepoint.
|
| Modifier and Type | Method and Description |
|---|---|
static SavepointRestoreSettings |
SavepointRestoreSettings.forPath(String savepointPath) |
static SavepointRestoreSettings |
SavepointRestoreSettings.forPath(String savepointPath,
boolean allowNonRestoredState) |
static SavepointRestoreSettings |
SavepointRestoreSettings.forPath(String savepointPath,
boolean allowNonRestoredState,
RestoreMode restoreMode) |
static SavepointRestoreSettings |
SavepointRestoreSettings.fromConfiguration(org.apache.flink.configuration.ReadableConfig configuration) |
SavepointRestoreSettings |
JobGraph.getSavepointRestoreSettings()
Returns the configured savepoint restore setting.
|
static SavepointRestoreSettings |
SavepointRestoreSettings.none() |
| Modifier and Type | Method and Description |
|---|---|
JobGraphBuilder |
JobGraphBuilder.setSavepointRestoreSettings(SavepointRestoreSettings newSavepointRestoreSettings) |
void |
JobGraph.setSavepointRestoreSettings(SavepointRestoreSettings settings)
Sets the savepoint restore settings.
|
static void |
SavepointRestoreSettings.toConfiguration(SavepointRestoreSettings savepointRestoreSettings,
org.apache.flink.configuration.Configuration configuration) |
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.