@PublicEvolving public final class Savepoint extends Object
ExistingSavepoint
,
NewSavepoint
Modifier and Type | Method and Description |
---|---|
static NewSavepoint |
create(StateBackend stateBackend,
int maxParallelism)
Creates a new savepoint.
|
static ExistingSavepoint |
load(ExecutionEnvironment env,
String path,
StateBackend stateBackend)
Loads an existing savepoint.
|
public static ExistingSavepoint load(ExecutionEnvironment env, String path, StateBackend stateBackend) throws IOException
env
- The execution environment used to transform the savepoint.path
- The path to an existing savepoint on disk.stateBackend
- The state backend of the savepoint.IOException
public static NewSavepoint create(StateBackend stateBackend, int maxParallelism)
stateBackend
- The state backend of the savepoint used for keyed state.maxParallelism
- The max parallelism of the savepoint.Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.