public class HdfsTransactionLog.HDFSLogReader extends TransactionLog.LogReader
Constructor and Description |
---|
HdfsTransactionLog.HDFSLogReader(long startingPos) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
long |
currentPos() |
long |
currentSize() |
Object |
next()
Returns the next object from the log, or null if none available.
|
String |
toString() |
public HdfsTransactionLog.HDFSLogReader(long startingPos)
public Object next() throws IOException, InterruptedException
next
in class TransactionLog.LogReader
IOException
- If there is a low-level I/O error.InterruptedException
public void close()
close
in class TransactionLog.LogReader
public String toString()
toString
in class TransactionLog.LogReader
public long currentPos()
currentPos
in class TransactionLog.LogReader
public long currentSize()
currentSize
in class TransactionLog.LogReader
Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.