K
- V
- public class LRUMap<K,V> extends AbstractLRUMap<K,V>
Modifier and Type | Method and Description |
---|---|
Object |
getMaxCounter() |
boolean |
shouldRemove() |
clear, containsKey, containsValue, dumpCacheEntries, dumpMap, entrySet, get, getChunkSize, getQuiet, getStatistics, isEmpty, keySet, processRemovedLRU, 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 LRUMap()
public LRUMap(int maxObjects)
maxObjects
- maximum number to keep in the mappublic boolean shouldRemove()
shouldRemove
in class AbstractLRUMap<K,V>
public Object getMaxCounter()
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.