org.apache.solr.update
Class TransactionLog.LogReader
java.lang.Object
org.apache.solr.update.TransactionLog.LogReader
- Direct Known Subclasses:
- HdfsTransactionLog.HDFSLogReader
- Enclosing class:
- TransactionLog
public class TransactionLog.LogReader
- extends Object
TransactionLog.LogReader
public TransactionLog.LogReader(long startingPos)
TransactionLog.LogReader
protected TransactionLog.LogReader()
next
public Object next()
throws IOException,
InterruptedException
- Returns the next object from the log, or null if none available.
- Returns:
- The log record, or null if EOF
- Throws:
IOException
- If there is a low-level I/O error.
InterruptedException
close
public void close()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.