public class LRUMapJCS extends LRUMap
Constructor and Description |
---|
LRUMapJCS()
This creates an unbounded version.
|
LRUMapJCS(int maxKeySize)
This creates a list bounded by the max key size argument.
|
Modifier and Type | Method and Description |
---|---|
protected void |
processRemovedLRU(java.lang.Object key,
java.lang.Object value)
This is called when an item is removed from the LRU.
|
clear, containsKey, containsValue, dumpCacheEntries, dumpMap, entrySet, get, getChunkSize, getQuiet, getStatistics, isEmpty, keySet, put, putAll, remove, setChunkSize, size, values, verifyCache, verifyCache
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
- protected void processRemovedLRU(java.lang.Object key, java.lang.Object value)
processRemovedLRU
in class LRUMap
key
- value
- Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.