public class LHMLRUMemoryCache.LHMSpooler extends LinkedHashMap<K,MemoryElementDescriptor<K,V>>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
LHMLRUMemoryCache.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, get
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values
equals, hashCode, toString
public LHMLRUMemoryCache.LHMSpooler()
protected boolean removeEldestEntry(Map.Entry<K,MemoryElementDescriptor<K,V>> eldest)
removeEldestEntry
in class LinkedHashMap<K extends Serializable,MemoryElementDescriptor<K extends Serializable,V extends Serializable>>
eldest
- Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.