public static interface HLog.Writer
Modifier and Type | Method and Description |
---|---|
void |
append(HLog.Entry entry) |
void |
close() |
long |
getLength() |
void |
init(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration c,
boolean overwritable) |
void |
setWALTrailer(WALProtos.WALTrailer walTrailer)
Sets HLog's WALTrailer.
|
void |
sync() |
void init(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration c, boolean overwritable) throws IOException
IOException
void close() throws IOException
IOException
void sync() throws IOException
IOException
void append(HLog.Entry entry) throws IOException
IOException
long getLength() throws IOException
IOException
void setWALTrailer(WALProtos.WALTrailer walTrailer)
walTrailer
- trailer to append to WAL.Copyright © 2014 The Apache Software Foundation. All rights reserved.