org.apache.hadoop.hbase.regionserver.wal
Interface HLog.Writer
- All Known Implementing Classes:
- SequenceFileLogWriter
- Enclosing class:
- HLog
public static interface HLog.Writer
Method Summary |
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)
|
void |
sync()
|
init
void init(org.apache.hadoop.fs.FileSystem fs,
org.apache.hadoop.fs.Path path,
org.apache.hadoop.conf.Configuration c)
throws IOException
- Throws:
IOException
close
void close()
throws IOException
- Throws:
IOException
sync
void sync()
throws IOException
- Throws:
IOException
append
void append(HLog.Entry entry)
throws IOException
- Throws:
IOException
getLength
long getLength()
throws IOException
- Throws:
IOException
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.