org.ehcache.core.spi.cache.tiering
Interface CachingTier.InvalidationListener<K,V>

Type Parameters:
K -
V -
Enclosing interface:
CachingTier<K,V>

public static interface CachingTier.InvalidationListener<K,V>

Caching tier invalidation listener.


Method Summary
 void onInvalidation(K key, Store.ValueHolder<V> valueHolder)
          Notification that a mapping was evicted or has expired.
 

Method Detail

onInvalidation

void onInvalidation(K key,
                    Store.ValueHolder<V> valueHolder)
Notification that a mapping was evicted or has expired.

Parameters:
key - the mapping's key.
valueHolder - the invalidated mapping's value holder.