Package wt.cache
Interface ICacheManagerMBean
- All Superinterfaces:
SelfEmailingMBean
- All Known Subinterfaces:
ConcurrentHashMapCacheMonitorMBean,GuavaCacheMonitorMBean,ICacheManagerClassicMBean,ICacheManagerPlusMBean
Instrumented cache management interface
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptionintCount of entries in the cache
Supported API: truelongNumber of cache hits
Supported API: truelongNumber of cache misses
Supported API: truelongNumber of cache overflows
Supported API: trueintConfigured maximum cache size
Supported API: truegetName()Name of cache
Supported API: truelongRestart number of this cache
Supported API: truelongTime this cache can be considered to have been up since last restarting its statistics (in milliseconds)
Supported API: truevoidlog()Log this MBean to log4j logger, wt.cache.ICacheManagerMBean.mbean
Supported API: trueMethods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean
emailThisMBean
-
Method Details
-
getName
String getName()Name of cache
Supported API: true -
getCacheEntryCount
int getCacheEntryCount()Count of entries in the cache
Supported API: true -
getCacheSize
int getCacheSize()Configured maximum cache size
Supported API: true -
getCacheHits
long getCacheHits()Number of cache hits
Supported API: true -
getCacheMisses
long getCacheMisses()Number of cache misses
Supported API: true -
getCacheOverflows
long getCacheOverflows()Number of cache overflows
Supported API: true -
getRestartNumber
long getRestartNumber()Restart number of this cache
Supported API: true -
getUptime
long getUptime()Time this cache can be considered to have been up since last restarting its statistics (in milliseconds)
Supported API: true -
log
Log this MBean to log4j logger, wt.cache.ICacheManagerMBean.mbean
Supported API: true
-