|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jcs.engine.memory.AbstractMemoryCache
org.apache.jcs.engine.memory.AbstractDoulbeLinkedListMemoryCache
org.apache.jcs.engine.memory.fifo.FIFOMemoryCache
public class FIFOMemoryCache
The items are spooled in the order they are added. No adjustments to the list are make on get.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.apache.jcs.engine.memory.AbstractDoulbeLinkedListMemoryCache |
|---|
AbstractDoulbeLinkedListMemoryCache.IteratorWrapper, AbstractDoulbeLinkedListMemoryCache.MapEntryWrapper |
| Field Summary |
|---|
| Fields inherited from class org.apache.jcs.engine.memory.AbstractDoulbeLinkedListMemoryCache |
|---|
hitCnt, list, missCnt |
| Fields inherited from class org.apache.jcs.engine.memory.AbstractMemoryCache |
|---|
attr, cache, cacheName, cattr, chunkSize, map, status |
| Constructor Summary | |
|---|---|
FIFOMemoryCache()
|
|
| Method Summary | |
|---|---|
protected void |
adjustListForGet(MemoryElementDescriptor me)
Does nothing. |
protected MemoryElementDescriptor |
adjustListForUpdate(ICacheElement ce)
Puts an item to the cache. |
| Methods inherited from class org.apache.jcs.engine.memory.AbstractDoulbeLinkedListMemoryCache |
|---|
addFirst, addLast, createMap, dumpCacheEntries, dumpCacheSize, dumpMap, freeElements, get, getIterator, getKeyArray, getStatistics, initialize, remove, removeAll, spoolLastElement, update, verifyCache |
| Methods inherited from class org.apache.jcs.engine.memory.AbstractMemoryCache |
|---|
dispose, getCacheAttributes, getCacheName, getCompositeCache, getGroupKeys, getMultiple, getQuiet, getSize, getStatus, setCacheAttributes, waterfal |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FIFOMemoryCache()
| Method Detail |
|---|
protected MemoryElementDescriptor adjustListForUpdate(ICacheElement ce)
throws java.io.IOException
adjustListForUpdate in class AbstractDoulbeLinkedListMemoryCachece - The cache element, or entry wrapper
java.io.IOExceptionprotected void adjustListForGet(MemoryElementDescriptor me)
adjustListForGet in class AbstractDoulbeLinkedListMemoryCacheme -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||