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