org.apache.solr.update
Class TransactionLog.LogReader

java.lang.Object
  extended by org.apache.solr.update.TransactionLog.LogReader
Enclosing class:
TransactionLog

public class TransactionLog.LogReader
extends Object


Constructor Summary
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)
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
InterruptedException

close

public void close()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.