org.tinygroup.jspengine.appserv.util.cache.mbeans
类 JmxBaseCache

java.lang.Object
  继承者 org.tinygroup.jspengine.appserv.util.cache.mbeans.JmxBaseCache
所有已实现的接口:
JmxBaseCacheMBean
直接已知子类:
JmxLruCache, JmxMultiLruCache

public class JmxBaseCache
extends Object
implements JmxBaseCacheMBean

This class provides implementation for JmxBaseCacheMBean

作者:
Krishnamohan Meduri (Krishna.Meduri@Sun.com)

构造方法摘要
JmxBaseCache(BaseCache baseCache, String name)
           
 
方法摘要
 Integer getAddCount()
          Returns the number of times new entries have been added
 Integer getEntryCount()
          Returns current number of Entries
 Integer getHitCount()
          Return the number of cache hits
 Integer getMaxEntries()
          Returns maximum possible number of entries
 Integer getMissCount()
          Returns the number of cache misses
 String getName()
          Returns a unique identifier for this MBean inside the domain
 Integer getOverflowCount()
          Returns the number of times that an overflow has occurred
 Integer getRefreshCount()
          Returns the number of values that have been refreshed (replaced with a new value in an existing extry)
 Integer getRemovalCount()
          Returns the number of entries that have been removed
 Integer getTableSize()
          Returns current number of buckets
 Integer getThreshold()
          Returns threshold.
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

JmxBaseCache

public JmxBaseCache(BaseCache baseCache,
                    String name)
方法详细信息

getName

public String getName()
Returns a unique identifier for this MBean inside the domain

指定者:
接口 JmxBaseCacheMBean 中的 getName

getMaxEntries

public Integer getMaxEntries()
Returns maximum possible number of entries

指定者:
接口 JmxBaseCacheMBean 中的 getMaxEntries

getThreshold

public Integer getThreshold()
Returns threshold. This when reached, an overflow will occur

指定者:
接口 JmxBaseCacheMBean 中的 getThreshold

getTableSize

public Integer getTableSize()
Returns current number of buckets

指定者:
接口 JmxBaseCacheMBean 中的 getTableSize

getEntryCount

public Integer getEntryCount()
Returns current number of Entries

指定者:
接口 JmxBaseCacheMBean 中的 getEntryCount

getHitCount

public Integer getHitCount()
Return the number of cache hits

指定者:
接口 JmxBaseCacheMBean 中的 getHitCount

getMissCount

public Integer getMissCount()
Returns the number of cache misses

指定者:
接口 JmxBaseCacheMBean 中的 getMissCount

getRemovalCount

public Integer getRemovalCount()
Returns the number of entries that have been removed

指定者:
接口 JmxBaseCacheMBean 中的 getRemovalCount

getRefreshCount

public Integer getRefreshCount()
Returns the number of values that have been refreshed (replaced with a new value in an existing extry)

指定者:
接口 JmxBaseCacheMBean 中的 getRefreshCount

getOverflowCount

public Integer getOverflowCount()
Returns the number of times that an overflow has occurred

指定者:
接口 JmxBaseCacheMBean 中的 getOverflowCount

getAddCount

public Integer getAddCount()
Returns the number of times new entries have been added

指定者:
接口 JmxBaseCacheMBean 中的 getAddCount


Copyright © 2006–2014 开源组织. All rights reserved.