org.apache.solr.update
Class TransactionLog.ReverseReader

java.lang.Object
  extended by org.apache.solr.update.TransactionLog.ReverseReader
Direct Known Subclasses:
HdfsTransactionLog.HDFSReverseReader, TransactionLog.FSReverseReader
Enclosing class:
TransactionLog

public abstract class TransactionLog.ReverseReader
extends Object


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

Constructor Detail

TransactionLog.ReverseReader

public TransactionLog.ReverseReader()
Method Detail

next

public abstract Object next()
                     throws IOException
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.

position

public abstract long position()

close

public abstract void close()

toString

public abstract String toString()
Overrides:
toString in class Object


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