org.jboss.ejb.plugins
Class LRUEnterpriseContextCachePolicy.OveragerTask
java.lang.Object
|
+--org.jboss.util.TimerTask
|
+--org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy.OveragerTask
- All Implemented Interfaces:
- java.lang.Comparable, Executable
- 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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LRUEnterpriseContextCachePolicy.OveragerTask
protected LRUEnterpriseContextCachePolicy.OveragerTask(long period)
execute
public void execute()
- Description copied from class:
TimerTask
- The task to be executed, to be implemented in subclasses.
- Overrides:
execute
in class TimerTask
getTaskLogMessage
protected java.lang.String getTaskLogMessage()
getJMSTaskType
protected java.lang.String getJMSTaskType()
kickOut
protected void kickOut(LRUCachePolicy.LRUCacheEntry entry)
getMaxAge
protected long getMaxAge()
Copyright © 2000 The JBoss Organization. All Rights Reserved.