|
ehcache | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap
java.util.HashMap
java.util.LinkedHashMap
net.sf.ehcache.store.MemoryStore.SpoolingLinkedHashMap
An extension of LinkedHashMap which overrides removeEldestEntry(java.util.Map.Entry)
to persist cache entries to the auxiliary cache before they are removed.
Nested Class Summary |
Nested classes inherited from class java.util.LinkedHashMap |
|
Nested classes inherited from class java.util.AbstractMap |
|
Field Summary |
Fields inherited from class java.util.HashMap |
|
Fields inherited from class java.util.AbstractMap |
|
Constructor Summary | |
MemoryStore.SpoolingLinkedHashMap()
Default constructor. |
Method Summary | |
protected boolean |
removeEldestEntry(java.util.Map.Entry eldest)
Returns true if this map should remove its eldest entry. |
Methods inherited from class java.util.LinkedHashMap |
clear, containsValue, get |
Methods inherited from class java.util.HashMap |
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
Constructor Detail |
public MemoryStore.SpoolingLinkedHashMap()
Method Detail |
protected boolean removeEldestEntry(java.util.Map.Entry eldest)
eldest
- The least recently inserted entry in the map, or if
this is an access-ordered map, the least recently accessed
entry. This is the entry that will be removed it this
method returns true. If the map was empty prior
to the put or putAll invocation resulting
in this invocation, this will be the entry that was just
inserted; in other words, if the map contains a single
entry, the eldest entry is also the newest.
|
ehcache | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |