|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
K
- the type of keys maintained by this mapV
- the type of mapped valuespublic interface CacheLoader<K,V>
Used for read-through caching and loading data into a cache.
See CacheWriter which is used for write-through caching.
Method Summary | |
---|---|
Cache.Entry<K,V> |
load(Object key,
Object arg)
loads an object. |
Map<K,V> |
loadAll(Collection<? extends K> keys,
Object arg)
loads multiple object. |
Method Detail |
---|
Cache.Entry<K,V> load(Object key, Object arg)
key
- the key identifying the object being loadedarg
- the argument passed
Map<K,V> loadAll(Collection<? extends K> keys, Object arg)
keys
- keys identifying the values to be loadedarg
- the argument passed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |