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
IOExceptionvoid close()
throws IOException
IOExceptionvoid sync()
throws IOException
IOExceptionvoid append(HLog.Entry entry) throws IOException
IOExceptionlong getLength()
throws IOException
IOExceptionvoid setWALTrailer(WALProtos.WALTrailer walTrailer)
walTrailer - trailer to append to WAL.Copyright © 2014 The Apache Software Foundation. All rights reserved.