K - V - public class LRUMap<K,V> extends AbstractLRUMap<K,V>
| Modifier and Type | Method and Description |
|---|---|
boolean |
shouldRemove() |
clear, containsKey, containsValue, dumpCacheEntries, dumpMap, entrySet, get, getQuiet, getStatistics, isEmpty, keySet, processRemovedLRU, put, putAll, remove, size, values, verifyCacheclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic LRUMap()
public LRUMap(int maxObjects)
maxObjects - maximum number to keep in the mappublic boolean shouldRemove()
shouldRemove in class AbstractLRUMap<K,V>Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.