|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheLoader
User should implement this CacheLoader interface to provide a loader object to load the objects into cache.
Method Summary | |
---|---|
Object |
load(Object key)
loads an object. |
Map |
loadAll(Collection keys)
loads multiple object. |
Method Detail |
---|
Object load(Object key) throws CacheException
key
- the key identifying the object being loaded
CacheException
Map loadAll(Collection keys) throws CacheException
keys
- a Collection of keys identifying the objects to be loaded
CacheException
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |