|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use MemoryElementDescriptor | |
|---|---|
| org.apache.jcs.engine.memory | Parent package for memory type plugins. |
| org.apache.jcs.engine.memory.behavior | |
| org.apache.jcs.engine.memory.fifo | |
| org.apache.jcs.engine.memory.lru | The primary memory plugin using a 'least recently used' removal policy. |
| org.apache.jcs.engine.memory.mru | A memory plugin implemented using a 'most recently used' removal policy. |
| Uses of MemoryElementDescriptor in org.apache.jcs.engine.memory |
|---|
| Fields in org.apache.jcs.engine.memory with type parameters of type MemoryElementDescriptor | |
|---|---|
protected DoubleLinkedList<MemoryElementDescriptor<K,V>> |
AbstractDoubleLinkedListMemoryCache.list
thread-safe double linked list for lru |
Map<K,MemoryElementDescriptor<K,V>> |
AbstractMemoryCache.map
Map where items are stored by key. |
| Methods in org.apache.jcs.engine.memory that return MemoryElementDescriptor | |
|---|---|
protected 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 algorithm |
| Methods in org.apache.jcs.engine.memory that return types with arguments of type MemoryElementDescriptor | |
|---|---|
abstract Map<K,MemoryElementDescriptor<K,V>> |
AbstractMemoryCache.createMap()
Children must implement this method. |
Map<K,MemoryElementDescriptor<K,V>> |
AbstractDoubleLinkedListMemoryCache.createMap()
This is called by super initialize. |
Iterator<Map.Entry<K,MemoryElementDescriptor<K,V>>> |
AbstractMemoryCache.getIterator()
Gets the iterator attribute of the LRUMemoryCache object |
Iterator<Map.Entry<K,MemoryElementDescriptor<K,V>>> |
AbstractDoubleLinkedListMemoryCache.getIterator()
Gets the iterator attribute of the LRUMemoryCache object |
Map.Entry<K,MemoryElementDescriptor<K,V>> |
AbstractDoubleLinkedListMemoryCache.IteratorWrapper.next()
|
| Methods in org.apache.jcs.engine.memory with parameters of type MemoryElementDescriptor | |
|---|---|
protected abstract void |
AbstractDoubleLinkedListMemoryCache.adjustListForGet(MemoryElementDescriptor<K,V> me)
Adjust the list as needed for a get. |
| Constructor parameters in org.apache.jcs.engine.memory with type arguments of type MemoryElementDescriptor | |
|---|---|
AbstractDoubleLinkedListMemoryCache.IteratorWrapper(Map<K,MemoryElementDescriptor<K,V>> m)
Wrapped to remove our wrapper object |
|
| Uses of MemoryElementDescriptor in org.apache.jcs.engine.memory.behavior |
|---|
| Methods in org.apache.jcs.engine.memory.behavior that return types with arguments of type MemoryElementDescriptor | |
|---|---|
Iterator<Map.Entry<K,MemoryElementDescriptor<K,V>>> |
IMemoryCache.getIterator()
Get an iterator for all elements in the memory cache. |
| Uses of MemoryElementDescriptor in org.apache.jcs.engine.memory.fifo |
|---|
| Methods in org.apache.jcs.engine.memory.fifo that return MemoryElementDescriptor | |
|---|---|
protected MemoryElementDescriptor<K,V> |
FIFOMemoryCache.adjustListForUpdate(ICacheElement<K,V> ce)
Puts an item to the cache. |
| Methods in org.apache.jcs.engine.memory.fifo with parameters of type MemoryElementDescriptor | |
|---|---|
protected void |
FIFOMemoryCache.adjustListForGet(MemoryElementDescriptor<K,V> me)
Does nothing. |
| Uses of MemoryElementDescriptor in org.apache.jcs.engine.memory.lru |
|---|
| Methods in org.apache.jcs.engine.memory.lru that return MemoryElementDescriptor | |
|---|---|
protected MemoryElementDescriptor<K,V> |
LRUMemoryCache.adjustListForUpdate(ICacheElement<K,V> ce)
Puts an item to the cache. |
| Methods in org.apache.jcs.engine.memory.lru that return types with arguments of type MemoryElementDescriptor | |
|---|---|
Map<K,MemoryElementDescriptor<K,V>> |
LHMLRUMemoryCache.createMap()
Returns a synchronized LHMSpooler |
| Methods in org.apache.jcs.engine.memory.lru with parameters of type MemoryElementDescriptor | |
|---|---|
protected void |
LRUMemoryCache.adjustListForGet(MemoryElementDescriptor<K,V> me)
Makes the item the first in the list. |
| Method parameters in org.apache.jcs.engine.memory.lru with type arguments of type MemoryElementDescriptor | |
|---|---|
protected boolean |
LHMLRUMemoryCache.LHMSpooler.removeEldestEntry(Map.Entry<K,MemoryElementDescriptor<K,V>> eldest)
Remove eldest. |
| Uses of MemoryElementDescriptor in org.apache.jcs.engine.memory.mru |
|---|
| Methods in org.apache.jcs.engine.memory.mru that return MemoryElementDescriptor | |
|---|---|
protected MemoryElementDescriptor<K,V> |
MRUMemoryCache.adjustListForUpdate(ICacheElement<K,V> ce)
Adds the item to the front of the list. |
| Methods in org.apache.jcs.engine.memory.mru with parameters of type MemoryElementDescriptor | |
|---|---|
protected void |
MRUMemoryCache.adjustListForGet(MemoryElementDescriptor<K,V> me)
Makes the item the last in the list. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||