org.jboss.ejb.plugins
Class LRUEnterpriseContextCachePolicy.ContextLRUList
java.lang.Object
org.jboss.util.LRUCachePolicy.LRUList (src)
org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy.ContextLRUList
- Enclosing class:
- LRUEnterpriseContextCachePolicy (src)
- protected class LRUEnterpriseContextCachePolicy.ContextLRUList
- extends LRUCachePolicy.LRUList (src)
Subclass that logs list activity events.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
LRUEnterpriseContextCachePolicy.ContextLRUList
protected LRUEnterpriseContextCachePolicy.ContextLRUList()
entryPromotion
protected void entryPromotion(LRUCachePolicy.LRUCacheEntry (src) entry)
- Description copied from class:
LRUCachePolicy.LRUList (src)
- Callback that signals that the given entry is just about to be added.
- Overrides:
entryPromotion
in class LRUCachePolicy.LRUList (src)
entryAdded
protected void entryAdded(LRUCachePolicy.LRUCacheEntry (src) entry)
- Description copied from class:
LRUCachePolicy.LRUList (src)
- Callback that signals that the given entry has been added to the cache.
- Overrides:
entryAdded
in class LRUCachePolicy.LRUList (src)
entryRemoved
protected void entryRemoved(LRUCachePolicy.LRUCacheEntry (src) entry)
- Description copied from class:
LRUCachePolicy.LRUList (src)
- Callback that signals that the given entry has been removed from the cache.
- Overrides:
entryRemoved
in class LRUCachePolicy.LRUList (src)
capacityChanged
protected void capacityChanged(int oldCapacity)
- Description copied from class:
LRUCachePolicy.LRUList (src)
- Callback that signals that the capacity of the cache is changed.
- Overrides:
capacityChanged
in class LRUCachePolicy.LRUList (src)
- Parameters:
oldCapacity
- the capacity before the change happened