ehcache

net.sf.ehcache.store
Interface CachingTier.Listener<K,V>

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

public static interface CachingTier.Listener<K,V>

A listener that will be notified when eviction of a mapping happens


Method Summary
 void evicted(K key, V value)
          Invoked when a mapping is evicted.
 

Method Detail

evicted

void evicted(K key,
             V value)
Invoked when a mapping is evicted.

Parameters:
key - the key evicted
value - the value evicted

ehcache

Copyright 2001-2014, Terracotta, Inc.