Package org.apache.ignite.spi
Interface IgniteSpiCloseableIterator<T>
- 
- All Superinterfaces:
- AutoCloseable,- Iterator<T>,- Serializable
 
 public interface IgniteSpiCloseableIterator<T> extends Iterator<T>, AutoCloseable, Serializable Closeable iterator.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Closes the iterator and frees all the resources held by the iterator.- 
Methods inherited from interface java.util.IteratorforEachRemaining, hasNext, next, remove
 
- 
 
- 
- 
- 
Method Detail- 
closevoid close() throws IgniteCheckedExceptionCloses the iterator and frees all the resources held by the iterator. Iterator can not be used any more after calling this method.The method is invoked automatically on objects managed by the try-with-resourcesstatement.- Specified by:
- closein interface- AutoCloseable
- Throws:
- IgniteCheckedException- In case of error.
 
 
- 
 
-