ehcache

net.sf.ehcache.hibernate.management.api
Interface EhcacheHibernateMBean

All Superinterfaces:
EhcacheStats, HibernateStats, NotificationBroadcaster, NotificationEmitter
All Known Implementing Classes:
EhcacheHibernate

public interface EhcacheHibernateMBean
extends EhcacheStats, HibernateStats

MBean interface for hibernate statistics of session-factories

Author:
Abhishek Sanoujam

Field Summary
 
Fields inherited from interface net.sf.ehcache.hibernate.management.api.EhcacheStats
CACHE_ENABLED, CACHE_FLUSHED, CACHE_REGION_CHANGED, CACHE_REGION_FLUSHED, CACHE_STATISTICS_ENABLED, CACHE_STATISTICS_RESET
 
Fields inherited from interface net.sf.ehcache.hibernate.management.api.HibernateStats
CACHE_ENABLED, CACHE_FLUSHED, CACHE_REGION_CHANGED, CACHE_REGION_FLUSHED, CACHE_STATISTICS_ENABLED, CACHE_STATISTICS_RESET
 
Method Summary
 boolean isHibernateStatisticsSupported()
          Returns true if hibernate statistics is supported.
 
Methods inherited from interface net.sf.ehcache.hibernate.management.api.EhcacheStats
flushRegionCache, flushRegionCaches, generateActiveConfigDeclaration, generateActiveConfigDeclaration, getAverageGetTimeMillis, getCacheHitCount, getCacheHitRate, getCacheHitSample, getCacheMissCount, getCacheMissRate, getCacheMissSample, getCachePutCount, getCachePutRate, getCachePutSample, getMaxGetTimeMillis, getMaxGetTimeMillis, getMinGetTimeMillis, getMinGetTimeMillis, getNumberOfElementsInMemory, getNumberOfElementsOffHeap, getNumberOfElementsOnDisk, getOriginalConfigDeclaration, getOriginalConfigDeclaration, getRegionCacheAttributes, getRegionCacheAttributes, getRegionCacheMaxTTISeconds, getRegionCacheMaxTTLSeconds, getRegionCacheOrphanEvictionPeriod, getRegionCacheSamples, getRegionCacheTargetMaxInMemoryCount, getRegionCacheTargetMaxTotalCount, getTerracottaHibernateCacheRegionNames, isRegionCacheEnabled, isRegionCacheLoggingEnabled, isRegionCacheOrphanEvictionEnabled, isRegionCachesEnabled, isTerracottaHibernateCache, setRegionCacheEnabled, setRegionCacheLoggingEnabled, setRegionCacheMaxTTISeconds, setRegionCacheMaxTTLSeconds, setRegionCachesEnabled, setRegionCacheTargetMaxInMemoryCount, setRegionCacheTargetMaxTotalCount
 
Methods inherited from interface net.sf.ehcache.hibernate.management.api.HibernateStats
clearStats, disableStats, enableStats, getCacheRegionStats, getCloseStatementCount, getCollectionStats, getConnectCount, getEntityStats, getFlushCount, getOptimisticFailureCount, getPrepareStatementCount, getQueryExecutionCount, getQueryExecutionRate, getQueryExecutionSample, getQueryStats, getSessionCloseCount, getSessionOpenCount, getSuccessfulTransactionCount, getTransactionCount, isStatisticsEnabled, setStatisticsEnabled
 
Methods inherited from interface javax.management.NotificationEmitter
removeNotificationListener
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 

Method Detail

isHibernateStatisticsSupported

boolean isHibernateStatisticsSupported()
Returns true if hibernate statistics is supported.

It depends on whether the property hibernate.session_factory_name has been specified in the hibernate configuration for the hibernate statistics to be enabled

Returns:
true if hibernate statistics is supported

ehcache

Copyright 2001-2014, Terracotta, Inc.