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(K key,
V value)
This is called when an item is removed from the LRU.
|
getMaxCounter, shouldRemove
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(K key, V value)
processRemovedLRU
in class AbstractLRUMap<K,V>
key
- value
- Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.