public class IndexedDiskCache.LRUMapCountLimited extends LRUMap<K,IndexedDiskElementDescriptor>
Constructor and Description |
---|
LRUMapCountLimited(int maxKeySize) |
Modifier and Type | Method and Description |
---|---|
protected void |
processRemovedLRU(K key,
IndexedDiskElementDescriptor value)
This is called when the may key size is reached.
|
getMaxCounter, shouldRemove
clear, containsKey, containsValue, dumpCacheEntries, dumpMap, entrySet, get, getChunkSize, 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 LRUMapCountLimited(int maxKeySize)
protected void processRemovedLRU(K key, IndexedDiskElementDescriptor value)
processRemovedLRU
in class AbstractLRUMap<K,IndexedDiskElementDescriptor>
key
- value
- Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.