org.jboss.ejb.plugins
Class LRUEnterpriseContextCachePolicy.OveragerTask

java.lang.Object
  extended by java.util.TimerTask
      extended by org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy.OveragerTask
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
LRUStatefulContextCachePolicy.RemoverTask
Enclosing class:
LRUEnterpriseContextCachePolicy

protected class LRUEnterpriseContextCachePolicy.OveragerTask
extends TimerTask

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


Constructor Summary
protected LRUEnterpriseContextCachePolicy.OveragerTask(long period)
           
 
Method Summary
protected  String getJMSTaskType()
           
protected  long getMaxAge()
           
protected  String getTaskLogMessage()
           
 void run()
           
 
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

LRUEnterpriseContextCachePolicy.OveragerTask

protected LRUEnterpriseContextCachePolicy.OveragerTask(long period)
Method Detail

run

public void run()
Specified by:
run in interface Runnable
Specified by:
run in class TimerTask

getTaskLogMessage

protected String getTaskLogMessage()

getJMSTaskType

protected String getJMSTaskType()

getMaxAge

protected long getMaxAge()


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.