org.jboss.ejb.plugins
Class LRUEnterpriseContextCachePolicy.ContextLRUList

java.lang.Object
  extended byorg.jboss.util.LRUCachePolicy.LRUList (src) 
      extended byorg.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy.ContextLRUList
Enclosing class:
LRUEnterpriseContextCachePolicy (src)

protected class LRUEnterpriseContextCachePolicy.ContextLRUList
extends LRUCachePolicy.LRUList (src)

Subclass that logs list activity events.


Field Summary
 
Fields inherited from class org.jboss.util.LRUCachePolicy.LRUList (src)
m_cacheMiss, m_capacity, m_count, m_head, m_maxCapacity, m_minCapacity, m_tail
 
Constructor Summary
protected LRUEnterpriseContextCachePolicy.ContextLRUList()
           
 
Method Summary
protected  void capacityChanged(int oldCapacity)
          Callback that signals that the capacity of the cache is changed.
protected  void entryAdded(LRUCachePolicy.LRUCacheEntry (src)  entry)
          Callback that signals that the given entry has been added to the cache.
protected  void entryPromotion(LRUCachePolicy.LRUCacheEntry (src)  entry)
          Callback that signals that the given entry is just about to be added.
protected  void entryRemoved(LRUCachePolicy.LRUCacheEntry (src)  entry)
          Callback that signals that the given entry has been removed from the cache.
 
Methods inherited from class org.jboss.util.LRUCachePolicy.LRUList (src)
clear, demote, promote, remove, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LRUEnterpriseContextCachePolicy.ContextLRUList

protected LRUEnterpriseContextCachePolicy.ContextLRUList()
Method Detail

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