T
- the class of the data stored in the cache.public interface CacheEntryListener<T> extends EventListener
Modifier and Type | Method and Description |
---|---|
void |
cacheEntryAdded(CacheEntryEvent<T> event)
Called when a new value is inserted in the cache.
|
void |
cacheEntryModified(CacheEntryEvent<T> event)
Called when an existing value is overwritten in the cache.
|
void |
cacheEntryRemoved(CacheEntryEvent<T> event)
Called when an existing value is removed from the cache.
|
void cacheEntryAdded(CacheEntryEvent<T> event)
event
- the event object containing all entry informations.void cacheEntryRemoved(CacheEntryEvent<T> event)
The event object contains the former entry.
event
- the event object containing all entry informations.void cacheEntryModified(CacheEntryEvent<T> event)
The event object contains the new value.
event
- the event object containing all entry informations.Copyright © 2004–2019 XWiki. All rights reserved.