public interface StorageReadOnlyIterator<E> extends ReadOnlyIterator<E>
IRedoLogFileStorage| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the iterator
|
boolean |
hasNext()
Returns true if the iteration has more elements.
|
E |
next()
Returns the next element in the iteration.
|
boolean hasNext()
throws StorageException
hasNext in interface ReadOnlyIterator<E>StorageExceptionE next() throws StorageException
hasNext() method returns false will return each element in the underlying collection
exactly once.next in interface ReadOnlyIterator<E>NoSuchElementException - iteration has no more elements.StorageExceptionvoid close()
throws StorageException
close in interface ReadOnlyIterator<E>StorageExceptionCopyright © GigaSpaces.