|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface CacheListener
The listener interface for receiving cache events.
Method Summary | |
---|---|
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(). |
Method Detail |
---|
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 removed
|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |