|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.commons.collections.SequencedHashMap
org.apache.commons.collections.LRUMap
net.sf.ehcache.store.MemoryStore.SpoolingLRUMap
An LRU Map implementation based on Apache Commons LRUMap.
This is used if LinkedHashMap
is not found in the classpath.
LinkedHashMap is part of JDK
Constructor Summary | |
MemoryStore.SpoolingLRUMap()
Constructor. |
Method Summary | |
protected void |
processRemovedLRU(java.lang.Object key,
java.lang.Object value)
Called after the element has been removed. |
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 |
public MemoryStore.SpoolingLRUMap()
Cache.getMaxElementsInMemory()
. If the
LRUMap gets bigger than this, processRemovedLRU(java.lang.Object, java.lang.Object)
is called.
Method Detail |
protected void processRemovedLRU(java.lang.Object key, java.lang.Object value)
key
- value
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |