|
ehcache | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.ehcache.store.MemoryStore
net.sf.ehcache.store.LruMemoryStore
An implementation of a LruMemoryStore.
This usesLinkedHashMap
as its backing map. It uses the LinkedHashMap
LRU
feature. LRU for this implementation means least recently accessed.
Nested Class Summary | |
class |
LruMemoryStore.SpoolingLinkedHashMap
An extension of LinkedHashMap which overrides LruMemoryStore.SpoolingLinkedHashMap.removeEldestEntry(java.util.Map.Entry)
to persist cache entries to the auxiliary cache before they are removed. |
class |
LruMemoryStore.SpoolingLRUMap
An LRU Map implementation based on Apache Commons LRUMap. |
Field Summary |
Fields inherited from class net.sf.ehcache.store.MemoryStore |
cache, diskStore, map, status |
Constructor Summary | |
LruMemoryStore(Cache cache,
DiskStore diskStore)
Constructor for the LruMemoryStore object The backing LinkedHashMap is created with LRU by access order. |
Methods inherited from class net.sf.ehcache.store.MemoryStore |
clear, containsKey, create, dispose, doPut, evict, flush, get, getKeyArray, getQuiet, getSize, getSizeInBytes, getStatus, isFull, notifyExpiry, notifyingRemoveAll, put, remove, removeAll, spoolAllToDisk, spoolToDisk |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LruMemoryStore(Cache cache, DiskStore diskStore)
LinkedHashMap
is created with LRU by access order.
|
ehcache | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |