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.LogReaderIOException - If there is a low-level I/O error.InterruptedExceptionpublic void close()
close in class TransactionLog.LogReaderpublic String toString()
toString in class TransactionLog.LogReaderpublic long currentPos()
currentPos in class TransactionLog.LogReaderpublic long currentSize()
currentSize in class TransactionLog.LogReaderCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.