org.jboss.ejb.plugins
Class LRUStatefulContextCachePolicy.RemoverTask

java.lang.Object
  extended byjava.util.TimerTask
      extended byorg.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy.OveragerTask (src) 
          extended byorg.jboss.ejb.plugins.LRUStatefulContextCachePolicy.RemoverTask
All Implemented Interfaces:
java.lang.Runnable
Enclosing class:
LRUStatefulContextCachePolicy (src)

protected class LRUStatefulContextCachePolicy.RemoverTask
extends LRUEnterpriseContextCachePolicy.OveragerTask (src)

This TimerTask removes beans that have not been called for a while.


Constructor Summary
protected LRUStatefulContextCachePolicy.RemoverTask(long period)
           
 
Method Summary
protected  long getMaxAge()
           
protected  java.lang.String getTaskLogMessage()
           
protected  void kickOut(LRUCachePolicy.LRUCacheEntry (src)  entry)
           
 void run()
           
 
Methods inherited from class org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy.OveragerTask (src)
getJMSTaskType
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LRUStatefulContextCachePolicy.RemoverTask

protected LRUStatefulContextCachePolicy.RemoverTask(long period)
Method Detail

getTaskLogMessage

protected java.lang.String getTaskLogMessage()
Overrides:
getTaskLogMessage in class LRUEnterpriseContextCachePolicy.OveragerTask (src)

kickOut

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

getMaxAge

protected long getMaxAge()
Overrides:
getMaxAge in class LRUEnterpriseContextCachePolicy.OveragerTask (src)

run

public void run()
Specified by:
run in interface java.lang.Runnable
Overrides:
run in class LRUEnterpriseContextCachePolicy.OveragerTask (src)