| javax.cache.CacheListener
All known Subclasses: junit.support.EventRecordingCacheListener, junit.TestListener, ri.cache.util.DebugCacheListener,
CacheListener | public interface CacheListener (Code) | | Interface describing various events that can happen as elements are added to
or removed from a cache.
|
onClear | public void onClear()(Code) | | |
onEvict | public void onEvict(K key)(Code) | | Triggered when a cache mapping is removed due to eviction or expiration.
Parameters: cache - Parameters: key - |
onExpiry | public void onExpiry(K key)(Code) | | |
onLoad | public void onLoad(K key)(Code) | | Triggered when a cache mapping is created due to the cache loader being consulted.
Parameters: cache - Parameters: key - |
onPut | public void onPut(K key)(Code) | | Triggered when a cache mapping is created due to calling
Cache.put(ObjectObject) }.
Parameters: cache - Parameters: key - |
onRemove | public void onRemove(K key)(Code) | | Triggered when a cache mapping is removed due to calling
Cache.remove(Object) .
Parameters: cache - Parameters: key - |
onShutdown | public void onShutdown()(Code) | | |
onUpdate | public void onUpdate(K key)(Code) | | |
|
|