Uses of Class
org.apache.commons.jcs3.engine.memory.util.MemoryElementDescriptor
Packages that use MemoryElementDescriptor
Package
Description
Parent package for memory type plugins.
The primary memory plugin using a 'least recently used' removal policy.
A memory plugin implemented using a 'most recently used' removal policy.
A memory plugin implemented using soft references.
-
Uses of MemoryElementDescriptor in org.apache.commons.jcs3.engine.memory
Fields in org.apache.commons.jcs3.engine.memory with type parameters of type MemoryElementDescriptorModifier and TypeFieldDescriptionprotected DoubleLinkedList<MemoryElementDescriptor<K,V>> AbstractDoubleLinkedListMemoryCache.listthread-safe double linked list for lruprotected Map<K,MemoryElementDescriptor<K, V>> AbstractMemoryCache.mapMap where items are stored by key.Methods in org.apache.commons.jcs3.engine.memory that return MemoryElementDescriptorModifier and TypeMethodDescriptionprotected MemoryElementDescriptor<K,V> AbstractDoubleLinkedListMemoryCache.addFirst(ICacheElement<K, V> ce) Adds a new node to the start of the link list.protected MemoryElementDescriptor<K,V> AbstractDoubleLinkedListMemoryCache.addLast(ICacheElement<K, V> ce) Adds a new node to the end of the link list.protected abstract MemoryElementDescriptor<K,V> AbstractDoubleLinkedListMemoryCache.adjustListForUpdate(ICacheElement<K, V> ce) Children implement this to control the cache expiration algorithmMethods in org.apache.commons.jcs3.engine.memory that return types with arguments of type MemoryElementDescriptorModifier and TypeMethodDescriptionAbstractDoubleLinkedListMemoryCache.createMap()This is called by super initialize.abstract Map<K,MemoryElementDescriptor<K, V>> AbstractMemoryCache.createMap()Children must implement this method.Methods in org.apache.commons.jcs3.engine.memory with parameters of type MemoryElementDescriptorModifier and TypeMethodDescriptionprotected abstract voidAbstractDoubleLinkedListMemoryCache.adjustListForGet(MemoryElementDescriptor<K, V> me) Adjust the list as needed for a get.protected voidAbstractDoubleLinkedListMemoryCache.lockedGetElement(MemoryElementDescriptor<K, V> me) Update control structures after get (guarded by the lock)protected abstract voidAbstractMemoryCache.lockedGetElement(MemoryElementDescriptor<K, V> me) Update control structures after get (guarded by the lock)protected voidAbstractDoubleLinkedListMemoryCache.lockedRemoveElement(MemoryElementDescriptor<K, V> me) Remove element from control structure (guarded by the lock)protected abstract voidAbstractMemoryCache.lockedRemoveElement(MemoryElementDescriptor<K, V> me) Remove element from control structure (guarded by the lock) -
Uses of MemoryElementDescriptor in org.apache.commons.jcs3.engine.memory.fifo
Methods in org.apache.commons.jcs3.engine.memory.fifo that return MemoryElementDescriptorModifier and TypeMethodDescriptionprotected MemoryElementDescriptor<K,V> FIFOMemoryCache.adjustListForUpdate(ICacheElement<K, V> ce) Puts an item to the cache.Methods in org.apache.commons.jcs3.engine.memory.fifo with parameters of type MemoryElementDescriptorModifier and TypeMethodDescriptionprotected voidFIFOMemoryCache.adjustListForGet(MemoryElementDescriptor<K, V> me) Does nothing. -
Uses of MemoryElementDescriptor in org.apache.commons.jcs3.engine.memory.lru
Methods in org.apache.commons.jcs3.engine.memory.lru that return MemoryElementDescriptorModifier and TypeMethodDescriptionprotected MemoryElementDescriptor<K,V> LRUMemoryCache.adjustListForUpdate(ICacheElement<K, V> ce) Puts an item to the cache.Methods in org.apache.commons.jcs3.engine.memory.lru that return types with arguments of type MemoryElementDescriptorModifier and TypeMethodDescriptionLHMLRUMemoryCache.createMap()Returns a synchronized LHMSpoolerMethods in org.apache.commons.jcs3.engine.memory.lru with parameters of type MemoryElementDescriptorModifier and TypeMethodDescriptionprotected voidLRUMemoryCache.adjustListForGet(MemoryElementDescriptor<K, V> me) Makes the item the first in the list.protected voidLHMLRUMemoryCache.lockedGetElement(MemoryElementDescriptor<K, V> me) Update control structures after get (guarded by the lock)protected voidLHMLRUMemoryCache.lockedRemoveElement(MemoryElementDescriptor<K, V> me) Remove element from control structure (guarded by the lock)Method parameters in org.apache.commons.jcs3.engine.memory.lru with type arguments of type MemoryElementDescriptorModifier and TypeMethodDescriptionprotected booleanLHMLRUMemoryCache.LHMSpooler.removeEldestEntry(Map.Entry<K, MemoryElementDescriptor<K, V>> eldest) Remove eldest. -
Uses of MemoryElementDescriptor in org.apache.commons.jcs3.engine.memory.mru
Methods in org.apache.commons.jcs3.engine.memory.mru that return MemoryElementDescriptorModifier and TypeMethodDescriptionprotected MemoryElementDescriptor<K,V> MRUMemoryCache.adjustListForUpdate(ICacheElement<K, V> ce) Adds the item to the front of the list.Methods in org.apache.commons.jcs3.engine.memory.mru with parameters of type MemoryElementDescriptorModifier and TypeMethodDescriptionprotected voidMRUMemoryCache.adjustListForGet(MemoryElementDescriptor<K, V> me) Makes the item the last in the list. -
Uses of MemoryElementDescriptor in org.apache.commons.jcs3.engine.memory.soft
Methods in org.apache.commons.jcs3.engine.memory.soft that return types with arguments of type MemoryElementDescriptorMethods in org.apache.commons.jcs3.engine.memory.soft with parameters of type MemoryElementDescriptorModifier and TypeMethodDescriptionprotected voidSoftReferenceMemoryCache.lockedGetElement(MemoryElementDescriptor<K, V> me) Update control structures after get (guarded by the lock)protected voidSoftReferenceMemoryCache.lockedRemoveElement(MemoryElementDescriptor<K, V> me) Remove element from control structure (guarded by the lock) -
Uses of MemoryElementDescriptor in org.apache.commons.jcs3.engine.memory.util
Subclasses of MemoryElementDescriptor in org.apache.commons.jcs3.engine.memory.utilModifier and TypeClassDescriptionclassThis wrapper is needed for double linked lists.