|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Here the cache interface for the JASon service. This cache is available in the
ServiceContext
objet
CacheStrategy
,
CacheObject
Method Summary | |
CacheStrategy |
getCacheStrategy()
|
void |
removeObject(java.lang.Object key)
Remove an object of the cache |
CacheObject |
restoreObject(java.lang.Object key)
Retreive an object from the cache. |
void |
setCacheStrategy(CacheStrategy strategy)
This is a delegate for deciding how to purge the cache |
void |
storeObject(java.lang.Object key,
CacheObject object)
Store an object in the cache |
Method Detail |
public void setCacheStrategy(CacheStrategy strategy)
public CacheStrategy getCacheStrategy()
public void storeObject(java.lang.Object key, CacheObject object)
key
- the tied key with the cache objectobject
- the final object to restorepublic CacheObject restoreObject(java.lang.Object key)
null
if the object is unknown or the good objectpublic void removeObject(java.lang.Object key)
key
- the key object for removing
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |