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 Exception
Exception - if there is a problem with the instancevoid beforeStore(V value) throws Exception
Exception - if there is a problem with the instancevoid timedOut(V value)
Copyright © 1999–2014 The Apache Software Foundation. All rights reserved.