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
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–2017 The Apache Software Foundation. All rights reserved.