public interface IterableRepository<T,PK> extends Repository<T,PK>, java.lang.Iterable<T>
the implementation class must provide for an efficient iterator over all entities in the repository. this is particular the case for database-backed up persistence stores where one expects a cursor like behaviour. it is the responsibility of the implementation class to handle disconnected scenarios or not.
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<T> |
iterator(int pagesize) |
java.util.Iterator<T> iterator(int pagesize)