Package org.apache.solr.update
Class TransactionLog.SortedLogReader
- java.lang.Object
-
- org.apache.solr.update.TransactionLog.LogReader
-
- org.apache.solr.update.TransactionLog.SortedLogReader
-
- Enclosing class:
- TransactionLog
public class TransactionLog.SortedLogReader extends TransactionLog.LogReader
-
-
Field Summary
-
Fields inherited from class org.apache.solr.update.TransactionLog.LogReader
fis
-
-
Constructor Summary
Constructors Constructor Description SortedLogReader(long startingPos)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
next()
Returns the next object from the log, or null if none available.-
Methods inherited from class org.apache.solr.update.TransactionLog.LogReader
close, currentPos, currentSize, toString
-
-
-
-
Method Detail
-
next
public Object next() throws IOException, InterruptedException
Description copied from class:TransactionLog.LogReader
Returns the next object from the log, or null if none available.- Overrides:
next
in classTransactionLog.LogReader
- Returns:
- The log record, or null if EOF
- Throws:
IOException
- If there is a low-level I/O error.InterruptedException
-
-