|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.jboss.util.TimerTask
|
+--org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy.OveragerTask
|
+--org.jboss.ejb.plugins.LRUStatefulContextCachePolicy.RemoverTask
This TimerTask removes beans that have not been called for a while.
| Constructor Summary | |
protected |
LRUStatefulContextCachePolicy.RemoverTask(long period)
|
| Method Summary | |
void |
execute()
The task to be executed, to be implemented in subclasses. |
protected java.lang.String |
getJMSTaskType()
|
protected long |
getMaxAge()
|
protected java.lang.String |
getTaskLogMessage()
|
protected void |
kickOut(LRUCachePolicy.LRUCacheEntry entry)
|
| Methods inherited from class org.jboss.util.TimerTask |
cancel, compareTo, getPeriod |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected LRUStatefulContextCachePolicy.RemoverTask(long period)
| Method Detail |
protected java.lang.String getTaskLogMessage()
getTaskLogMessage in class LRUEnterpriseContextCachePolicy.OveragerTaskprotected java.lang.String getJMSTaskType()
getJMSTaskType in class LRUEnterpriseContextCachePolicy.OveragerTaskprotected void kickOut(LRUCachePolicy.LRUCacheEntry entry)
kickOut in class LRUEnterpriseContextCachePolicy.OveragerTaskprotected long getMaxAge()
getMaxAge in class LRUEnterpriseContextCachePolicy.OveragerTaskpublic void execute()
TimerTaskexecute in class LRUEnterpriseContextCachePolicy.OveragerTask
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||