public class HdfsTransactionLog.HDFSLogReader extends TransactionLog.LogReader
Constructor and Description |
---|
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 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-2017 Apache Software Foundation. All Rights Reserved.