public class WriteAheadLogWriter
extends Object
implements java.io.Closeable
Constructor and Description |
---|
WriteAheadLogWriter(String path,
org.apache.hadoop.conf.Configuration hadoopConf) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
WriteAheadLogFileSegment |
write(java.nio.ByteBuffer data)
Write the bytebuffer to the log file
|
public WriteAheadLogWriter(String path, org.apache.hadoop.conf.Configuration hadoopConf)
public WriteAheadLogFileSegment write(java.nio.ByteBuffer data)
public void close()
close
in interface java.io.Closeable
close
in interface AutoCloseable