|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Cache.CacheListener<V>
Callback listener for cache events.
Method Summary | |
---|---|
void |
afterLoad(V value)
Called after an entry is loaded from a store. |
void |
beforeStore(V value)
Called before an entry is written to a store. |
void |
timedOut(V value)
Called when an instance has been removed from the cache due to a time-out. |
Method Detail |
---|
void afterLoad(V value) throws java.lang.Exception
java.lang.Exception
- if there is a problem with the instancevoid beforeStore(V value) throws java.lang.Exception
java.lang.Exception
- if there is a problem with the instancevoid timedOut(V value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |