|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--jason.core.cache.SizeCacheStrategyImpl
Created Fri May 10 14:11:52 2002
Simple strategy that delete the older item of the cache
CacheStrategy| Constructor Summary | |
SizeCacheStrategyImpl(int size)
|
|
| Method Summary | |
void |
garbageCache(Cache cache,
java.util.AbstractList list)
This method is called by the Cache each time an item is added by
the storeObject method |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SizeCacheStrategyImpl(int size)
| Method Detail |
public void garbageCache(Cache cache,
java.util.AbstractList list)
CacheStrategyCache each time an item is added by
the storeObject method
garbageCache in interface CacheStrategycache - the cache to garbagelist - is a dataModel for the cache, the tied classed will alter this content. This dataModel contains a set of object key
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||