public class GridWeakIterator<T> extends WeakReference<Iterator<T>>
| Constructor and Description |
|---|
GridWeakIterator(Iterator<T> ref,
GridCloseableIterator<T> it,
ReferenceQueue<Iterator<T>> q) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Closes iterator.
|
clear, enqueue, get, isEnqueuedpublic GridWeakIterator(Iterator<T> ref, GridCloseableIterator<T> it, ReferenceQueue<Iterator<T>> q)
ref - Referent.it - Closeable iterator.q - Referent queue.public void close()
throws IgniteCheckedException
IgniteCheckedException - If failed.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020