proai.cache
Class CachedRecordContentIterator

java.lang.Object
  extended by proai.cache.CachedRecordContentIterator
All Implemented Interfaces:
java.util.Iterator<CachedContent>, CloseableIterator<CachedContent>

public class CachedRecordContentIterator
extends java.lang.Object
implements CloseableIterator<CachedContent>


Constructor Summary
CachedRecordContentIterator(CloseableIterator<java.lang.String[]> paths, RCDisk rcDisk, boolean identifiers)
           
 
Method Summary
 void close()
           
 void finalize()
           
 boolean hasNext()
           
 CachedContent next()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CachedRecordContentIterator

public CachedRecordContentIterator(CloseableIterator<java.lang.String[]> paths,
                                   RCDisk rcDisk,
                                   boolean identifiers)
Method Detail

hasNext

public boolean hasNext()
                throws ServerException
Specified by:
hasNext in interface java.util.Iterator<CachedContent>
Specified by:
hasNext in interface CloseableIterator<CachedContent>
Throws:
ServerException

next

public CachedContent next()
                   throws ServerException
Specified by:
next in interface java.util.Iterator<CachedContent>
Specified by:
next in interface CloseableIterator<CachedContent>
Throws:
ServerException

close

public void close()
Specified by:
close in interface CloseableIterator<CachedContent>

finalize

public void finalize()
Overrides:
finalize in class java.lang.Object

remove

public void remove()
            throws java.lang.UnsupportedOperationException
Specified by:
remove in interface java.util.Iterator<CachedContent>
Specified by:
remove in interface CloseableIterator<CachedContent>
Throws:
java.lang.UnsupportedOperationException