net.sf.swarmcache
Class LRUCache.ListeningLRUMap

java.lang.Object
  |
  +--org.apache.commons.collections.SequencedHashMap
        |
        +--org.apache.commons.collections.LRUMap
              |
              +--net.sf.swarmcache.LRUCache.ListeningLRUMap
All Implemented Interfaces:
java.lang.Cloneable, java.io.Externalizable, java.util.Map, java.io.Serializable
Enclosing class:
LRUCache

public class LRUCache.ListeningLRUMap
extends org.apache.commons.collections.LRUMap

See Also:
Serialized Form

Constructor Summary
LRUCache.ListeningLRUMap(int size)
           
 
Method Summary
protected  void processRemovedLRU(java.lang.Object key, java.lang.Object value)
           
 void setListener(LRUCacheListener l)
           
 
Methods inherited from class org.apache.commons.collections.LRUMap
get, getMaximumSize, put, readExternal, removeLRU, setMaximumSize, writeExternal
 
Methods inherited from class org.apache.commons.collections.SequencedHashMap
clear, clone, containsKey, containsValue, entrySet, equals, get, getFirst, getFirstKey, getFirstValue, getLast, getLastKey, getLastValue, getValue, hashCode, indexOf, isEmpty, iterator, keySet, lastIndexOf, putAll, remove, remove, sequence, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LRUCache.ListeningLRUMap

public LRUCache.ListeningLRUMap(int size)
Method Detail

setListener

public void setListener(LRUCacheListener l)

processRemovedLRU

protected void processRemovedLRU(java.lang.Object key,
                                 java.lang.Object value)
Overrides:
processRemovedLRU in class org.apache.commons.collections.LRUMap