|
||||||||||
| 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.
SeeCacheWriter which is the corollary for load used for write-through caching.
| Method Summary | |
|---|---|
Cache.Entry<K,V> |
load(K key)
Loads an object. |
Map<K,V> |
loadAll(Iterable<? extends K> keys)
Loads multiple objects. |
| Method Detail |
|---|
Cache.Entry<K,V> load(K key)
key - the key identifying the object being loaded
Map<K,V> loadAll(Iterable<? extends K> keys)
keys - keys identifying the values to be loaded
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||