GigaSpaces XAP 7.0 API

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

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

Deprecated. Use ExternalDataSource.

@Deprecated
public interface BasicCacheLoader<K,V>
extends CacheLoader

BasicCacheLoader extends the CacheLoader and adds iterator functionality

Since:
6.0
Author:
anna

Method Summary
 DataIterator<Map.Entry<K,V>> entries()
          Deprecated.  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
Deprecated. 
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

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.