Class FIFOMemoryCache<K,V> 
java.lang.Object
org.apache.commons.jcs3.engine.memory.AbstractMemoryCache<K,V>
 
org.apache.commons.jcs3.engine.memory.AbstractDoubleLinkedListMemoryCache<K,V>
 
org.apache.commons.jcs3.engine.memory.fifo.FIFOMemoryCache<K,V> 
- All Implemented Interfaces:
- IMemoryCache<K,- V> 
The items are spooled in the order they are added. No adjustments to the list are made on get.
- 
Field SummaryFields inherited from class org.apache.commons.jcs3.engine.memory.AbstractDoubleLinkedListMemoryCachelist
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected voidDoes nothing.protected MemoryElementDescriptor<K,V> Puts an item to the cache.Methods inherited from class org.apache.commons.jcs3.engine.memory.AbstractDoubleLinkedListMemoryCacheaddFirst, addLast, createMap, freeElements, get, getStatistics, initialize, lockedGetElement, lockedRemoveAll, lockedRemoveElement, updateMethods inherited from class org.apache.commons.jcs3.engine.memory.AbstractMemoryCachedispose, dumpMap, getCacheAttributes, getCacheName, getCompositeCache, getKeySet, getMultiple, getQuiet, getSize, remove, removeAll, removeByGroup, removeByHierarchy, setCacheAttributes, waterfal
- 
Constructor Details- 
FIFOMemoryCachepublic FIFOMemoryCache()
 
- 
- 
Method Details- 
adjustListForUpdateprotected MemoryElementDescriptor<K,V> adjustListForUpdate(ICacheElement<K, V> ce) throws IOExceptionPuts an item to the cache. Removes any pre-existing entries of the same key from the linked list and adds this one first.- Specified by:
- adjustListForUpdatein class- AbstractDoubleLinkedListMemoryCache<K,- V> 
- Parameters:
- ce- The cache element, or entry wrapper
- Returns:
- MemoryElementDescriptor the new node
- Throws:
- IOException
 
- 
adjustListForGetDoes nothing.- Specified by:
- adjustListForGetin class- AbstractDoubleLinkedListMemoryCache<K,- V> 
- Parameters:
- me-
 
 
-