public class GridEmptyCloseableIterator<T> extends GridEmptyIterator<T> implements GridCloseableIterator<T>
| Constructor and Description |
|---|
GridEmptyCloseableIterator() |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes the iterator and frees all the resources held by the iterator.
|
boolean |
isClosed()
Checks if iterator has been closed.
|
hasNextX, nextX, removeX, toStringhasNext, iterator, next, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithasNextX, nextX, removeXpublic void close()
throws IgniteCheckedException
The method is invoked automatically on objects managed by the
try-with-resources statement.
close in interface AutoCloseableclose in interface GridCloseableIterator<T>close in interface IgniteSpiCloseableIterator<T>IgniteCheckedException - In case of error.public boolean isClosed()
isClosed in interface GridCloseableIterator<T>True if iterator has been closed.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.6.0 Release Date : May 18 2016