public static interface Cache.CacheListener<V>
Modifier and Type | Method and Description |
---|---|
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.
|
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)