|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.TimerTask
org.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy.ResizerTask
This TimerTask resizes the cache capacity using the cache miss frequency algorithm, that is the more cache misses we have, the more the cache size is enlarged, and viceversa.
Of course, the maximum and minimum capacity are the bounds that this resizer never passes.
Constructor Summary | |
protected |
LRUEnterpriseContextCachePolicy.ResizerTask(long resizerPeriod)
|
Method Summary | |
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 |
protected LRUEnterpriseContextCachePolicy.ResizerTask(long resizerPeriod)
Method Detail |
public void run()
|
||||||||||
PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |