net.sf.swarmcache
Class LRUCache.ListeningLRUMap

java.lang.Object
  extended by org.apache.commons.collections.SequencedHashMap
      extended by org.apache.commons.collections.LRUMap
          extended by net.sf.swarmcache.LRUCache.ListeningLRUMap
All Implemented Interfaces:
java.io.Externalizable, java.io.Serializable, java.lang.Cloneable, java.util.Map
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


Copyright © 2002-2008 TrackStudio, Ltd. All Rights Reserved.