com.j_spaces.javax.cache
Interface BasicCacheLoader<K,V>

All Superinterfaces:
CacheLoader
All Known Subinterfaces:
MapDataSource<K,V>
All Known Implementing Classes:
HibernateMapDataSource

public interface BasicCacheLoader<K,V>
extends CacheLoader

BasicCacheLoader extends the CacheLoader and adds iterator functionality

Since:
6.0

Method Summary
 DataIterator<Map.Entry<K,V>> entries()
           Creates and returns an iterator over all the entries in data source.
 
Methods inherited from interface com.j_spaces.javax.cache.CacheLoader
load, loadAll
 

Method Detail

entries

DataIterator<Map.Entry<K,V>> entries()
                                     throws DataSourceException
Creates and returns an iterator over all the entries in data source. Invoked on values() method

Returns:
a DataIterator or null if no data should be loaded into space
Throws:
DataSourceException