|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--jason.core.cache.BasicCacheImpl
Created Fri May 10 14:20:00 2002
Comments
| Constructor Summary | |
BasicCacheImpl()
|
|
| 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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public BasicCacheImpl()
| Method Detail |
public void setCacheStrategy(CacheStrategy strategy)
setCacheStrategy in interface Cachepublic CacheStrategy getCacheStrategy()
getCacheStrategy in interface Cache
public void storeObject(java.lang.Object key,
CacheObject object)
storeObject in interface Cachekey - the tied key with the cache objectobject - the final object to restorepublic CacheObject restoreObject(java.lang.Object key)
restoreObject in interface Cachenull if the object is unknown or the good objectpublic void removeObject(java.lang.Object key)
removeObject in interface Cachekey - the key object for removing
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||