Top Description Fields Methods
net.sf.ehcache.hibernate.management.api

public Interface EhcacheHibernateMBean

extends EhcacheStats, HibernateStats
Known Direct Implementers
net.sf.ehcache.hibernate.management.impl.EhcacheHibernate

MBean interface for hibernate statistics of session-factories

Author
Abhishek Sanoujam

Field Summary

Inherited from net.sf.ehcache.hibernate.management.api.EhcacheStats:
CACHE_ENABLEDCACHE_FLUSHEDCACHE_REGION_CHANGEDCACHE_REGION_FLUSHEDCACHE_STATISTICS_ENABLEDCACHE_STATISTICS_RESET
Inherited from net.sf.ehcache.hibernate.management.api.HibernateStats:
CACHE_ENABLEDCACHE_FLUSHEDCACHE_REGION_CHANGEDCACHE_REGION_FLUSHEDCACHE_STATISTICS_ENABLEDCACHE_STATISTICS_RESET

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if hibernate statistics is supported
isHibernateStatisticsSupported
()

Returns true if hibernate statistics is supported.

Inherited from net.sf.ehcache.hibernate.management.api.EhcacheStats:
flushRegionCacheflushRegionCachesgenerateActiveConfigDeclarationgenerateActiveConfigDeclarationgetAverageGetTimeMillisgetCacheHitCountgetCacheHitRategetCacheHitSamplegetCacheMissCountgetCacheMissRategetCacheMissSamplegetCachePutCountgetCachePutRategetCachePutSamplegetMaxGetTimeMillisgetMaxGetTimeMillisgetMinGetTimeMillisgetMinGetTimeMillisgetNumberOfElementsInMemorygetNumberOfElementsOffHeapgetNumberOfElementsOnDiskgetOriginalConfigDeclarationgetOriginalConfigDeclarationgetRegionCacheAttributesgetRegionCacheAttributesgetRegionCacheMaxTTISecondsgetRegionCacheMaxTTLSecondsgetRegionCacheOrphanEvictionPeriodgetRegionCacheSamplesgetRegionCacheTargetMaxInMemoryCountgetRegionCacheTargetMaxTotalCountgetTerracottaHibernateCacheRegionNamesisRegionCacheEnabledisRegionCacheLoggingEnabledisRegionCacheOrphanEvictionEnabledisRegionCachesEnabledisTerracottaHibernateCachesetRegionCacheEnabledsetRegionCacheLoggingEnabledsetRegionCacheMaxTTISecondssetRegionCacheMaxTTLSecondssetRegionCachesEnabledsetRegionCacheTargetMaxInMemoryCountsetRegionCacheTargetMaxTotalCount
Inherited from net.sf.ehcache.hibernate.management.api.HibernateStats:
clearStatsdisableStatsenableStatsgetCacheRegionStatsgetCloseStatementCountgetCollectionStatsgetConnectCountgetEntityStatsgetFlushCountgetOptimisticFailureCountgetPrepareStatementCountgetQueryExecutionCountgetQueryExecutionRategetQueryExecutionSamplegetQueryStatsgetSessionCloseCountgetSessionOpenCountgetSuccessfulTransactionCountgetTransactionCountisStatisticsEnabledsetStatisticsEnabled

Method Detail

isHibernateStatisticsSupportedback to summary
public 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:boolean

true if hibernate statistics is supported