站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 server API Documentation 英文版文档

LRUEnterpriseContextCachePolicy.ResizerTask (JBoss Server API) - JBoss 4.0.1 sp1 server API Documentation 英文版文档


org.jboss.ejb.plugins
Class LRUEnterpriseContextCachePolicy.ResizerTask

java.lang.Object
  extended byjava.util.TimerTask
      extended byorg.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy.ResizerTask
All Implemented Interfaces:
Runnable
Enclosing class:
LRUEnterpriseContextCachePolicy

protected class LRUEnterpriseContextCachePolicy.ResizerTask
extends TimerTask

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

LRUEnterpriseContextCachePolicy.ResizerTask

protected LRUEnterpriseContextCachePolicy.ResizerTask(long resizerPeriod)
Method Detail

run

public void run()


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