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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
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–2017 The Apache Software Foundation. All rights reserved.