com.j_spaces.javax.cache
Interface CacheIterator<E>

Type Parameters:
E - Type of elements returned by a call to Iterator.next().
All Superinterfaces:
Iterator<E>
All Known Implementing Classes:
HibernateCacheIterator

public interface CacheIterator<E>
extends Iterator<E>

An iterator over a collection of candidates to be loaded into the space. Used with CacheIteratorFactory

Since:
5.1

Method Summary
 void close()
          Closes the iteration.
 
Methods inherited from interface java.util.Iterator
hasNext, next, remove
 

Method Detail

close

void close()
Closes the iteration. Called when enough candidates have been found to satisfy the query limit. Implementors should free up all excess resources.