|
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.FifoMemoryStore
public class FifoMemoryStore
First-In-First-Out (FIFO) implementation of MemoryStore.
| Field Summary |
|---|
| Fields inherited from class net.sf.ehcache.store.MemoryStore |
|---|
cache, diskStore, map, status |
| Constructor Summary | |
|---|---|
FifoMemoryStore(Ehcache cache,
Store diskStore)
Constructor for the FifoMemoryStore object. |
|
| Method Summary | |
|---|---|
protected void |
doPut(Element element)
Allow specialised actions over adding the element to the map |
(package private) Element |
getFirstElement()
Returns the first eligible element that can be taken out of the cache based on the FIFO policy |
| Methods inherited from class net.sf.ehcache.store.MemoryStore |
|---|
backedUp, clear, containsKey, create, dispose, evict, expireElements, flush, get, getBackingMap, getKeyArray, getQuiet, getSize, getSizeInBytes, getStatus, isFull, notifyExpiry, 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 FifoMemoryStore(Ehcache cache,
Store diskStore)
LinkedHashMap. If not found uses
Jakarta Commons collections.
| Method Detail |
|---|
protected final void doPut(Element element)
throws CacheException
doPut in class MemoryStoreelement -
CacheExceptionElement getFirstElement()
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||