|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CacheLoader
Extends JCache CacheLoader with load methods that take an argument in addition to a key
Method Summary | |
---|---|
java.lang.String |
getName()
Gets the name of a CacheLoader |
java.lang.Object |
load(java.lang.Object key,
java.lang.Object argument)
Load using both a key and an argument. |
java.util.Map |
loadAll(java.util.Collection keys,
java.lang.Object argument)
Load using both a key and an argument. |
Methods inherited from interface net.sf.jsr107cache.CacheLoader |
---|
load, loadAll |
Method Detail |
---|
java.lang.Object load(java.lang.Object key, java.lang.Object argument) throws net.sf.jsr107cache.CacheException
key
- the key to load the object forargument
- can be anything that makes sense to the loader
net.sf.jsr107cache.CacheException
java.util.Map loadAll(java.util.Collection keys, java.lang.Object argument) throws net.sf.jsr107cache.CacheException
keys
- the keys to load objects forargument
- can be anything that makes sense to the loader
net.sf.jsr107cache.CacheException
java.lang.String getName()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |