@Deprecated public interface CacheListener
Modifier and Type | Method and Description |
---|---|
void |
onClear()
Deprecated.
Triggered when the cache is cleared.
|
void |
onEvict(Object key)
Deprecated.
Triggered when a cache mapping is removed due to eviction.
|
void |
onLoad(Object key)
Deprecated.
Triggered when a cache mapping is created due to the cache loader being consulted.
|
void |
onPut(Object key)
Deprecated.
Triggered when a cache mapping is created due to calling Cache.put().
|
void |
onRemove(Object key)
Deprecated.
Triggered when a cache mapping is removed due to calling Cache.remove().
|
void onClear()
void onEvict(Object key)
key
- the key that was evictedvoid onLoad(Object key)
key
- the key that was loadedvoid onPut(Object key)
key
- the key that was putvoid onRemove(Object key)
key
- the key that was removedCopyright © GigaSpaces.