|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jcs.utils.struct.LRUMap
org.apache.jcs.auxiliary.disk.LRUMapJCS
Extension of LRUMap for logging of removals. Can switch this back to a HashMap easily.
| Nested Class Summary |
| Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
| Field Summary |
| Fields inherited from class org.apache.jcs.utils.struct.LRUMap |
map |
| Constructor Summary | |
LRUMapJCS()
This creates an unbounded version. |
|
LRUMapJCS(int maxKeySize)
This creates a list bounded by the max key size argument. |
|
| Method Summary | |
protected void |
processRemovedLRU(java.lang.Object key,
java.lang.Object value)
This is called when an item is removed from the LRU. |
| Methods inherited from class org.apache.jcs.utils.struct.LRUMap |
clear, containsKey, containsValue, dumpCacheEntries, dumpMap, entrySet, get, getChunkSize, getQuiet, getStatistics, isEmpty, keySet, put, putAll, remove, setChunkSize, size, values, verifyCache, verifyCache |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Map |
equals, hashCode |
| Constructor Detail |
public LRUMapJCS()
public LRUMapJCS(int maxKeySize)
This is used in the Disk cache to store keys and purgatory elements if a boundary is requested.
The LRU memory cache uses its own LRU implementation.
maxKeySize - | Method Detail |
protected void processRemovedLRU(java.lang.Object key,
java.lang.Object value)
processRemovedLRU in class LRUMapkey - value -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||