Interface JmxBaseCacheMBean
-
- All Known Subinterfaces:
JmxBoundedMultiLruCacheMBean,JmxLruCacheMBean,JmxMultiLruCacheMBean
- All Known Implementing Classes:
JmxBaseCache,JmxBoundedMultiLruCache,JmxLruCache,JmxMultiLruCache
public interface JmxBaseCacheMBeanThis interface defines the attributes exposed by the BaseCache MBean- Author:
- Krishnamohan Meduri (Krishna.Meduri@Sun.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IntegergetAddCount()Returns the number of times new entries have been addedIntegergetEntryCount()Returns current number of EntriesIntegergetHitCount()Return the number of cache hitsIntegergetMaxEntries()Returns maximum possible number of entriesIntegergetMissCount()Returns the number of cache missesStringgetName()Returns a unique identifier for this MBean inside the domainIntegergetOverflowCount()Returns the number of times that an overflow has occurredIntegergetRefreshCount()Returns the number of values that have been refreshed (replaced with a new value in an existing extry)IntegergetRemovalCount()Returns the number of entries that have been removedIntegergetTableSize()Returns current number of bucketsIntegergetThreshold()Returns threshold.
-
-
-
Method Detail
-
getName
String getName()
Returns a unique identifier for this MBean inside the domain
-
getMaxEntries
Integer getMaxEntries()
Returns maximum possible number of entries
-
getThreshold
Integer getThreshold()
Returns threshold. This when reached, an overflow will occur
-
getTableSize
Integer getTableSize()
Returns current number of buckets
-
getEntryCount
Integer getEntryCount()
Returns current number of Entries
-
getHitCount
Integer getHitCount()
Return the number of cache hits
-
getMissCount
Integer getMissCount()
Returns the number of cache misses
-
getRemovalCount
Integer getRemovalCount()
Returns the number of entries that have been removed
-
getRefreshCount
Integer getRefreshCount()
Returns the number of values that have been refreshed (replaced with a new value in an existing extry)
-
getOverflowCount
Integer getOverflowCount()
Returns the number of times that an overflow has occurred
-
getAddCount
Integer getAddCount()
Returns the number of times new entries have been added
-
-