public class FIFOMemoryCache<K,V> extends AbstractDoubleLinkedListMemoryCache<K,V>
list
Constructor and Description |
---|
FIFOMemoryCache() |
Modifier and Type | Method and Description |
---|---|
protected void |
adjustListForGet(MemoryElementDescriptor<K,V> me)
Does nothing.
|
protected MemoryElementDescriptor<K,V> |
adjustListForUpdate(ICacheElement<K,V> ce)
Puts an item to the cache.
|
addFirst, addLast, createMap, freeElements, get, getKeySet, getStatistics, initialize, remove, removeAll, update
dispose, dumpMap, getCacheAttributes, getCacheName, getCompositeCache, getMultiple, getQuiet, getSize, getStatus, setCacheAttributes, waterfal
public FIFOMemoryCache()
protected MemoryElementDescriptor<K,V> adjustListForUpdate(ICacheElement<K,V> ce) throws IOException
adjustListForUpdate
in class AbstractDoubleLinkedListMemoryCache<K,V>
ce
- The cache element, or entry wrapperIOException
protected void adjustListForGet(MemoryElementDescriptor<K,V> me)
adjustListForGet
in class AbstractDoubleLinkedListMemoryCache<K,V>
me
- Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.