public class CheckpointFile extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CheckpointFile.Checkpoint
Checkpoint metadata info.
|
| Constructor and Description |
|---|
CheckpointFile(String path) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
String |
getPath() |
CheckpointFile.Checkpoint |
load() |
boolean |
save(CheckpointFile.Checkpoint checkpoint) |
public CheckpointFile(String path)
public void destroy()
public String getPath()
public boolean save(CheckpointFile.Checkpoint checkpoint) throws IOException
IOExceptionpublic CheckpointFile.Checkpoint load() throws IOException
IOExceptionCopyright © 2024. All rights reserved.