com.sun.appserv.util.cache.mbeans
Interface JmxBaseCacheMBean

All Known Subinterfaces:
JmxBoundedMultiLruCacheMBean, JmxLruCacheMBean, JmxMultiLruCacheMBean
All Known Implementing Classes:
JmxBaseCache, JmxBoundedMultiLruCache, JmxLruCache, JmxMultiLruCache

public interface JmxBaseCacheMBean

This interface defines the attributes exposed by the BaseCache MBean

Author:
Krishnamohan Meduri (Krishna.Meduri@Sun.com)

Method Summary
 java.lang.Integer getAddCount()
          Returns the number of times new entries have been added
 java.lang.Integer getEntryCount()
          Returns current number of Entries
 java.lang.Integer getHitCount()
          Return the number of cache hits
 java.lang.Integer getMaxEntries()
          Returns maximum possible number of entries
 java.lang.Integer getMissCount()
          Returns the number of cache misses
 java.lang.String getName()
          Returns a unique identifier for this MBean inside the domain
 java.lang.Integer getOverflowCount()
          Returns the number of times that an overflow has occurred
 java.lang.Integer getRefreshCount()
          Returns the number of values that have been refreshed (replaced with a new value in an existing extry)
 java.lang.Integer getRemovalCount()
          Returns the number of entries that have been removed
 java.lang.Integer getTableSize()
          Returns current number of buckets
 java.lang.Integer getThreshold()
          Returns threshold.
 

Method Detail

getName

java.lang.String getName()
Returns a unique identifier for this MBean inside the domain


getMaxEntries

java.lang.Integer getMaxEntries()
Returns maximum possible number of entries


getThreshold

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


getTableSize

java.lang.Integer getTableSize()
Returns current number of buckets


getEntryCount

java.lang.Integer getEntryCount()
Returns current number of Entries


getHitCount

java.lang.Integer getHitCount()
Return the number of cache hits


getMissCount

java.lang.Integer getMissCount()
Returns the number of cache misses


getRemovalCount

java.lang.Integer getRemovalCount()
Returns the number of entries that have been removed


getRefreshCount

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


getOverflowCount

java.lang.Integer getOverflowCount()
Returns the number of times that an overflow has occurred


getAddCount

java.lang.Integer getAddCount()
Returns the number of times new entries have been added



Copyright © 2012 GlassFish Community. All Rights Reserved.