Package org.apache.solr.update
Class TransactionLog.LogReader
- java.lang.Object
- 
- org.apache.solr.update.TransactionLog.LogReader
 
- 
- Direct Known Subclasses:
- TransactionLog.SortedLogReader
 - Enclosing class:
- TransactionLog
 
 public class TransactionLog.LogReader extends Object 
- 
- 
Field SummaryFields Modifier and Type Field Description protected org.apache.solr.update.TransactionLog.ChannelFastInputStreamfis
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()longcurrentPos()longcurrentSize()Objectnext()Returns the next object from the log, or null if none available.StringtoString()
 
- 
- 
- 
Method Detail- 
nextpublic 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
 
 - 
closepublic void close() 
 - 
currentPospublic long currentPos() 
 - 
currentSizepublic long currentSize() throws IOException- Throws:
- IOException
 
 
- 
 
-