org.ehcache.core.spi.cache.events
Interface StoreEventListener<K,V>

Type Parameters:
K - the key type of the mappings
V - the value type of the mappings

public interface StoreEventListener<K,V>

Interface used by a Store to notify of events happening to mappings it contains.

Implementations of this class are expected to work in combination with an implementation of StoreEventDispatcher.


Method Summary
 void onEvent(StoreEvent<K,V> event)
          Invoked on any StoreEvent.
 

Method Detail

onEvent

void onEvent(StoreEvent<K,V> event)
Invoked on any StoreEvent.

Parameters:
event - the actual StoreEvent