Package | Description |
---|---|
org.apache.jcs.engine.memory |
Parent package for memory type plugins.
|
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.
|
Modifier and Type | Method and Description |
---|---|
protected MemoryElementDescriptor |
AbstractDoulbeLinkedListMemoryCache.addFirst(ICacheElement ce)
Adds a new node to the start of the link list.
|
protected MemoryElementDescriptor |
AbstractDoulbeLinkedListMemoryCache.addLast(ICacheElement ce)
Adds a new node to the end of the link list.
|
protected abstract MemoryElementDescriptor |
AbstractDoulbeLinkedListMemoryCache.adjustListForUpdate(ICacheElement ce)
Children implement this to control the cache expiration algorithm
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractDoulbeLinkedListMemoryCache.adjustListForGet(MemoryElementDescriptor me)
Adjust the list as needed for a get.
|
Modifier and Type | Method and Description |
---|---|
protected MemoryElementDescriptor |
FIFOMemoryCache.adjustListForUpdate(ICacheElement ce)
Puts an item to the cache.
|
Modifier and Type | Method and Description |
---|---|
protected void |
FIFOMemoryCache.adjustListForGet(MemoryElementDescriptor me)
Does nothing.
|
Modifier and Type | Method and Description |
---|---|
protected MemoryElementDescriptor |
LRUMemoryCache.adjustListForUpdate(ICacheElement ce)
Puts an item to the cache.
|
Modifier and Type | Method and Description |
---|---|
protected void |
LRUMemoryCache.adjustListForGet(MemoryElementDescriptor me)
Makes the item the first in the list.
|
Modifier and Type | Method and Description |
---|---|
protected MemoryElementDescriptor |
MRUMemoryCache.adjustListForUpdate(ICacheElement ce)
Adds the item to the front of the list.
|
Modifier and Type | Method and Description |
---|---|
protected void |
MRUMemoryCache.adjustListForGet(MemoryElementDescriptor me)
Makes the item the last in the list.
|
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.