K - the type of the keys used to access data within the cacheV - the type of the values held within the cachepublic interface CacheEventListener<K,V>
CacheEvents.| Modifier and Type | Method and Description |
|---|---|
void |
onEvent(CacheEvent<K,V> event)
Invoked on any
CacheEvent matching the EventType constrain used
when the listener was registered. |
void onEvent(CacheEvent<K,V> event)
CacheEvent matching the EventType constrain used
when the listener was registered. This method is invoked according to the EventOrdering
and EventFiring requirement desired at registration time.event - the actual CacheEvent