public class LRUMapJCS<K,V> extends LRUMap<K,V>
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.
|
clear, containsKey, containsValue, dumpCacheEntries, dumpMap, entrySet, get, getChunkSize, getMaxObjects, 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
- Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.