Package | Description |
---|---|
org.jboss.util |
Utility classes and interfaces.
|
Modifier and Type | Field and Description |
---|---|
LRUCachePolicy.LRUCacheEntry |
LRUCachePolicy.LRUList.m_head
The head of the double linked list
|
LRUCachePolicy.LRUCacheEntry |
LRUCachePolicy.LRUCacheEntry.m_next
Reference to the next cell in the list
|
LRUCachePolicy.LRUCacheEntry |
LRUCachePolicy.LRUCacheEntry.m_prev
Reference to the previous cell in the list
|
LRUCachePolicy.LRUCacheEntry |
LRUCachePolicy.LRUList.m_tail
The tail of the double linked list
|
Modifier and Type | Method and Description |
---|---|
protected LRUCachePolicy.LRUCacheEntry |
LRUCachePolicy.createCacheEntry(Object key,
Object value)
Factory method for cache entries
|
Modifier and Type | Method and Description |
---|---|
protected void |
LRUCachePolicy.ageOut(LRUCachePolicy.LRUCacheEntry entry)
Callback method called when the cache algorithm ages out of the cache
the given entry.
|
protected void |
LRUCachePolicy.LRUList.entryAdded(LRUCachePolicy.LRUCacheEntry entry)
Callback that signals that the given entry has been added to the cache.
|
protected void |
LRUCachePolicy.LRUList.entryPromotion(LRUCachePolicy.LRUCacheEntry entry)
Callback that signals that the given entry is just about to be added.
|
protected void |
LRUCachePolicy.LRUList.entryRemoved(LRUCachePolicy.LRUCacheEntry entry)
Callback that signals that the given entry has been removed from the cache.
|
protected void |
LRUCachePolicy.LRUList.promote(LRUCachePolicy.LRUCacheEntry entry)
Promotes the cache entry
entry to the last used position
of the list. |
protected void |
LRUCachePolicy.LRUList.remove(LRUCachePolicy.LRUCacheEntry entry)
Removes from the cache list the specified entry.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.