|
02/28/2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.vignette.portal.cache.CacheAction
|
+--com.vignette.portal.cache.ExpiringCacheAction
Removes objects from the Store based on keys. This is used by
implementations of ActionBasedCacheStrategy to provide traditional
expiration semantics.
This is the default implementation of CacheAction.
| Constructor Summary | |
ExpiringCacheAction()
|
|
| Method Summary | |
void |
onAction(Object key)
This method is called when the CacheStrategy determines
that action is needed for key. |
void |
onActions(Collection keys)
This method is called when the CacheStrategy determines
that action is needed for keys. |
| Methods inherited from class com.vignette.portal.cache.CacheAction |
getStore, onAdd, onAddAll, onGet, onGetAll, onRemove, onRemoveAll, onRemoveAll, setStore |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ExpiringCacheAction()
| Method Detail |
public void onAction(Object key)
CacheActionThis method is called when the CacheStrategy determines
that action is needed for key.
Typical examples of this are when the key "expires"
or when the cache is full and needs to remove a value that has not
been used for a while.
onAction in class CacheActioncom.vignette.portal.cache.CacheActionkey - the key for which action is neededpublic void onActions(Collection keys)
CacheActionThis method is called when the CacheStrategy determines
that action is needed for keys.
Typical examples of this are when the keys "expire"
or when the cache is full and needs to remove values that have not
been used for a while.
onActions in class CacheActioncom.vignette.portal.cache.CacheActionkeys - the collection of keys for which action is needed
|
02/28/2005 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||