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
Modifier and TypeMethodDescriptionReturns the number of times new entries have been addedReturns current number of EntriesReturn the number of cache hitsReturns maximum possible number of entriesReturns the number of cache missesgetName()Returns a unique identifier for this MBean inside the domainReturns the number of times that an overflow has occurredReturns the number of values that have been refreshed (replaced with a new value in an existing extry)Returns the number of entries that have been removedReturns current number of bucketsReturns threshold.
-
Method Details
-
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
-