public class Checkpoint extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Checkpoint.CheckpointDir
Checkpoint dir tree.
|
| Constructor and Description |
|---|
Checkpoint() |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
read(org.apache.hadoop.fs.FileSystem fileSystem,
org.apache.hadoop.fs.Path checkpointFilePath) |
static <T> T |
readObject(org.apache.hadoop.fs.FileSystem fileSystem,
org.apache.hadoop.fs.Path checkpointfilePath) |
static void |
write(org.apache.hadoop.fs.FileSystem fileSystem,
org.apache.hadoop.fs.Path checkpointFilePath,
byte[] value) |
static void |
writeObject(org.apache.hadoop.fs.FileSystem fileSystem,
org.apache.hadoop.fs.Path checkpointFilePath,
Object value) |
public static void write(org.apache.hadoop.fs.FileSystem fileSystem,
org.apache.hadoop.fs.Path checkpointFilePath,
byte[] value)
throws IOException
IOExceptionpublic static void writeObject(org.apache.hadoop.fs.FileSystem fileSystem,
org.apache.hadoop.fs.Path checkpointFilePath,
Object value)
throws IOException
IOExceptionpublic static byte[] read(org.apache.hadoop.fs.FileSystem fileSystem,
org.apache.hadoop.fs.Path checkpointFilePath)
throws IOException
IOExceptionpublic static <T> T readObject(org.apache.hadoop.fs.FileSystem fileSystem,
org.apache.hadoop.fs.Path checkpointfilePath)
throws IOException,
ClassNotFoundException
IOExceptionClassNotFoundExceptionCopyright © 2016–2017 The Apache Software Foundation. All rights reserved.