org.ehcache.event
Interface CacheEventListener<K,V>
- Type Parameters:
- K- the type of the keys used to access data within the cache
- V- the type of the values held within the cache
- All Known Implementing Classes: 
- CacheEventAdapter
- public interface CacheEventListener<K,V> 
Contract for users that want to listen on CacheEvents.
 
onEvent
void onEvent(CacheEvent<K,V> event)
- Invoked on any CacheEventmatching theEventTypeconstrain used
 when the listener was registered. This method is invoked according to theEventOrderingandEventFiringrequirement desired at registration time.
 
- 
- Parameters:
- event- the actual- CacheEvent