org.jboss.invocation.pooled.server
Class LRUPool

java.lang.Object
  extended byorg.jboss.util.LRUCachePolicy (src) 
      extended byorg.jboss.invocation.pooled.server.LRUPool
All Implemented Interfaces:
CachePolicy (src)

public class LRUPool
extends LRUCachePolicy (src)

This class is an extention of LRUCachePolicy. On a entry removal it makes sure to call shutdown on the pooled ServerThread


Nested Class Summary
 
Nested classes inherited from class org.jboss.util.LRUCachePolicy (src)
LRUCachePolicy.LRUCacheEntry (src) , LRUCachePolicy.LRUList (src)
 
Field Summary
 
Fields inherited from class org.jboss.util.LRUCachePolicy (src)
m_list, m_map, m_maxCapacity, m_minCapacity
 
Constructor Summary
LRUPool(int min, int max)
           
 
Method Summary
protected  void entryRemoved(LRUCachePolicy.LRUCacheEntry (src)  entry)
           
 void evict()
           
 
Methods inherited from class org.jboss.util.LRUCachePolicy (src)
ageOut, cacheMiss, create, createCacheEntry, createList, destroy, flush, get, insert, peek, remove, size, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LRUPool

public LRUPool(int min,
               int max)
Method Detail

entryRemoved

protected void entryRemoved(LRUCachePolicy.LRUCacheEntry (src)  entry)

evict

public void evict()