org.apache.solr.update
Class TransactionLog.LogReader

java.lang.Object
  extended by org.apache.solr.update.TransactionLog.LogReader
Direct Known Subclasses:
HdfsTransactionLog.HDFSLogReader
Enclosing class:
TransactionLog

public class TransactionLog.LogReader
extends Object


Constructor Summary
protected TransactionLog.LogReader()
           
  TransactionLog.LogReader(long startingPos)
           
 
Method Summary
 void close()
           
 Object next()
          Returns the next object from the log, or null if none available.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TransactionLog.LogReader

public TransactionLog.LogReader(long startingPos)

TransactionLog.LogReader

protected TransactionLog.LogReader()
Method Detail

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.