protected class LHMLRUMemoryCache.LHMSpooler extends LinkedHashMap<K,MemoryElementDescriptor<K,V>>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
LHMSpooler()
Initialize to a small size--for now, 1/2 of max 3rd variable "true" indicates that it
should be access and not time governed.
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
removeEldestEntry(Map.Entry<K,MemoryElementDescriptor<K,V>> eldest)
Remove eldest.
|
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCode, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizepublic LHMSpooler()
protected boolean removeEldestEntry(Map.Entry<K,MemoryElementDescriptor<K,V>> eldest)
removeEldestEntry in class LinkedHashMap<K,MemoryElementDescriptor<K,V>>eldest - Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.