org.apache.hadoop.hbase.regionserver.wal
Interface HLog.Reader

All Known Implementing Classes:
SequenceFileLogReader
Enclosing class:
HLog

public static interface HLog.Reader


Method Summary
 void close()
           
 long getPosition()
           
 void init(org.apache.hadoop.fs.FileSystem fs, org.apache.hadoop.fs.Path path, org.apache.hadoop.conf.Configuration c)
           
 HLog.Entry next()
           
 HLog.Entry next(HLog.Entry reuse)
           
 void seek(long pos)
           
 

Method Detail

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

next

HLog.Entry next()
                throws IOException
Throws:
IOException

next

HLog.Entry next(HLog.Entry reuse)
                throws IOException
Throws:
IOException

seek

void seek(long pos)
          throws IOException
Throws:
IOException

getPosition

long getPosition()
                 throws IOException
Throws:
IOException


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.