@PublicEvolving public final class Savepoint extends Object
ExistingSavepoint, 
NewSavepoint| Modifier and Type | Method and Description | 
|---|---|
| static NewSavepoint | create(org.apache.flink.runtime.state.StateBackend stateBackend,
      int maxParallelism)Creates a new savepoint. | 
| static ExistingSavepoint | load(org.apache.flink.api.java.ExecutionEnvironment env,
    String path,
    org.apache.flink.runtime.state.StateBackend stateBackend)Loads an existing savepoint. | 
public static ExistingSavepoint load(org.apache.flink.api.java.ExecutionEnvironment env, String path, org.apache.flink.runtime.state.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.IOExceptionpublic static NewSavepoint create(org.apache.flink.runtime.state.StateBackend stateBackend, int maxParallelism)
stateBackend - The state backend of the savepoint used for keyed state.maxParallelism - The max parallelism of the savepoint.Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.