@Internal public final class SavepointLoader extends Object
Savepoint metadata.| 限定符和类型 | 方法和说明 |
|---|---|
static org.apache.flink.runtime.checkpoint.savepoint.Savepoint |
loadSavepoint(String savepointPath)
Takes the given string (representing a pointer to a checkpoint) and resolves it to a file
status for the checkpoint's metadata file.
|
public static org.apache.flink.runtime.checkpoint.savepoint.Savepoint loadSavepoint(String savepointPath) throws IOException
This should only be used when the user code class loader is the current classloader for the thread.
savepointPath - The path to an external savepoint.IOException - Thrown, if the path cannot be resolved, the file system not accessed, or
the path points to a location that does not seem to be a savepoint.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.