public interface UpdateSourceIterator<T> extends GridCloseableIterator<T>
| Modifier and Type | Method and Description |
|---|---|
default void |
beforeDetach()
Callback method which should be called before moving iteration into another thread.
|
default void |
close()
Closes the iterator and frees all the resources held by the iterator.
|
default boolean |
hasNext() |
default boolean |
isClosed()
Checks if iterator has been closed.
|
default Iterator<T> |
iterator() |
default T |
next() |
EnlistOperation |
operation() |
default void |
remove() |
default void |
removeX()
This method is the same as
Iterator.remove(), but allows for failure
with exception. |
hasNextX, nextXforEach, spliteratorforEachRemainingEnlistOperation operation()
default void beforeDetach()
default 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.default boolean isClosed()
isClosed in interface GridCloseableIterator<T>True if iterator has been closed.default void removeX()
throws IgniteCheckedException
Iterator.remove(), but allows for failure
with exception.removeX in interface GridIterator<T>IgniteCheckedException - If failed.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.7.5 Release Date : June 4 2019