org.compass.core.util.concurrent
Interface ConcurrentLinkedHashMap.EvictionListener<K,V>

Enclosing class:
ConcurrentLinkedHashMap<K,V>

public static interface ConcurrentLinkedHashMap.EvictionListener<K,V>

A listener registered for notification when an entry is evicted.


Method Summary
 void onEviction(K key, V value)
          A call-back notification that the entry was evicted.
 

Method Detail

onEviction

void onEviction(K key,
                V value)
A call-back notification that the entry was evicted.

Parameters:
key - The evicted key.
value - The evicted value.


Copyright (c) 2004-2009 The Compass Project.