org.apache.hadoop.hdfs.server.datanode.fsdataset
Interface RollingLogs.LineIterator

All Superinterfaces:
Closeable, Iterator<String>
Enclosing interface:
RollingLogs

public static interface RollingLogs.LineIterator
extends Iterator<String>, Closeable

To iterate the lines of the logs.


Method Summary
 boolean isLastReadFromPrevious()
          Is the last read entry from previous? This should be called after reading.
 boolean isPrevious()
          Is the iterator iterating the previous?
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 
Methods inherited from interface java.io.Closeable
close
 

Method Detail

isPrevious

boolean isPrevious()
Is the iterator iterating the previous?


isLastReadFromPrevious

boolean isLastReadFromPrevious()
Is the last read entry from previous? This should be called after reading.



Copyright © 2014 Apache Software Foundation. All Rights Reserved.