public class EhcacheStatsImpl extends AbstractEmitterBean implements net.sf.ehcache.hibernate.management.api.EhcacheStats
EhcacheStats
| Constructor and Description |
|---|
EhcacheStatsImpl(net.sf.ehcache.CacheManager manager)
Constructor accepting the backing
CacheManager |
addNotificationListener, dispose, removeNotificationListener, removeNotificationListener, sendNotification, sendNotification, sendNotificationcacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitremoveNotificationListeneraddNotificationListener, removeNotificationListenerpublic EhcacheStatsImpl(net.sf.ehcache.CacheManager manager)
throws NotCompliantMBeanException
CacheManagermanager - The CacheManager to expose stats forNotCompliantMBeanException - should registering the MBean failpublic boolean isStatisticsEnabled()
isStatisticsEnabled in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic void clearStats()
clearStats in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic void disableStats()
disableStats in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic void enableStats()
enableStats in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic void flushRegionCache(String region)
flushRegionCache in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic void flushRegionCaches()
flushRegionCaches in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic String generateActiveConfigDeclaration()
generateActiveConfigDeclaration in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic String generateActiveConfigDeclaration(String region)
generateActiveConfigDeclaration in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic long getCacheHitCount()
getCacheHitCount in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic double getCacheHitRate()
getCacheHitRate in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic long getCacheHitSample()
getCacheHitSample in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic long getCacheMissCount()
getCacheMissCount in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic double getCacheMissRate()
getCacheMissRate in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic long getCacheMissSample()
getCacheMissSample in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic long getCachePutCount()
getCachePutCount in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic double getCachePutRate()
getCachePutRate in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic long getCachePutSample()
getCachePutSample in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic String getOriginalConfigDeclaration()
getOriginalConfigDeclaration in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic String getOriginalConfigDeclaration(String region)
getOriginalConfigDeclaration in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic Map<String,Map<String,Object>> getRegionCacheAttributes()
getRegionCacheAttributes in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic Map<String,Object> getRegionCacheAttributes(String regionName)
getRegionCacheAttributes in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic int getRegionCacheMaxTTISeconds(String region)
getRegionCacheMaxTTISeconds in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic int getRegionCacheMaxTTLSeconds(String region)
getRegionCacheMaxTTLSeconds in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic int getRegionCacheOrphanEvictionPeriod(String region)
getRegionCacheOrphanEvictionPeriod in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic Map<String,int[]> getRegionCacheSamples()
getRegionCacheSamples in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic int getRegionCacheTargetMaxInMemoryCount(String region)
getRegionCacheTargetMaxInMemoryCount in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic int getRegionCacheTargetMaxTotalCount(String region)
getRegionCacheTargetMaxTotalCount in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic String[] getTerracottaHibernateCacheRegionNames()
getTerracottaHibernateCacheRegionNames in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic boolean isRegionCacheEnabled(String region)
isRegionCacheEnabled in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic void setRegionCacheEnabled(String region, boolean enabled)
setRegionCacheEnabled in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic boolean isRegionCachesEnabled()
isRegionCachesEnabled in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic void setRegionCachesEnabled(boolean flag)
setRegionCachesEnabled in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic boolean isRegionCacheLoggingEnabled(String region)
isRegionCacheLoggingEnabled in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic boolean isRegionCacheOrphanEvictionEnabled(String region)
isRegionCacheOrphanEvictionEnabled in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic boolean isTerracottaHibernateCache(String region)
isTerracottaHibernateCache in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic void setRegionCacheLoggingEnabled(String region, boolean loggingEnabled)
setRegionCacheLoggingEnabled in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic void setRegionCacheMaxTTISeconds(String region, int maxTTISeconds)
setRegionCacheMaxTTISeconds in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic void setRegionCacheMaxTTLSeconds(String region, int maxTTLSeconds)
setRegionCacheMaxTTLSeconds in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic void setRegionCacheTargetMaxInMemoryCount(String region, int targetMaxInMemoryCount)
setRegionCacheTargetMaxInMemoryCount in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic void setRegionCacheTargetMaxTotalCount(String region, int targetMaxTotalCount)
setRegionCacheTargetMaxTotalCount in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic int getNumberOfElementsInMemory(String region)
getNumberOfElementsInMemory in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic int getNumberOfElementsOffHeap(String region)
getNumberOfElementsOffHeap in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic int getNumberOfElementsOnDisk(String region)
getNumberOfElementsOnDisk in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic void setStatisticsEnabled(boolean flag)
setStatisticsEnabled in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic long getMaxGetTimeMillis()
getMaxGetTimeMillis in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic long getMinGetTimeMillis()
getMinGetTimeMillis in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic long getMaxGetTimeMillis(String cacheName)
getMaxGetTimeMillis in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic long getMinGetTimeMillis(String cacheName)
getMinGetTimeMillis in interface net.sf.ehcache.hibernate.management.api.EhcacheStatspublic float getAverageGetTimeMillis(String region)
getAverageGetTimeMillis in interface net.sf.ehcache.hibernate.management.api.EhcacheStatsprotected void doDispose()
AbstractEmitterBeandoDispose in class AbstractEmitterBeanpublic MBeanNotificationInfo[] getNotificationInfo()
AbstractEmitterBeangetNotificationInfo in interface NotificationBroadcastergetNotificationInfo in class AbstractEmitterBeanCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.