org.apache.solr.update
Class HdfsTransactionLog.HDFSLogReader

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

public class HdfsTransactionLog.HDFSLogReader
extends TransactionLog.LogReader


Constructor Summary
HdfsTransactionLog.HDFSLogReader(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

HdfsTransactionLog.HDFSLogReader

public HdfsTransactionLog.HDFSLogReader(long startingPos)
Method Detail

next

public Object next()
            throws IOException,
                   InterruptedException
Returns the next object from the log, or null if none available.

Overrides:
next in class TransactionLog.LogReader
Returns:
The log record, or null if EOF
Throws:
IOException - If there is a low-level I/O error.
InterruptedException

close

public void close()
Overrides:
close in class TransactionLog.LogReader

toString

public String toString()
Overrides:
toString in class TransactionLog.LogReader


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