public class HibernateStatsImpl extends AbstractEmitterBean implements net.sf.ehcache.hibernate.management.api.HibernateStats
HibernateStats
 
 | Constructor and Description | 
|---|
HibernateStatsImpl(SessionFactory sessionFactory)
Constructor accepting the backing  
SessionFactory | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
clearStats()  | 
void | 
disableStats()  | 
protected void | 
doDispose()
Dispose callback of subclasses 
 | 
void | 
enableStats()  | 
TabularData | 
getCacheRegionStats()  | 
long | 
getCloseStatementCount()  | 
TabularData | 
getCollectionStats()  | 
long | 
getConnectCount()  | 
long | 
getDBSQLExecutionSample()
Deprecated. 
 
DO NOT USE, WILL ONLY THROW AT YOU! 
 | 
TabularData | 
getEntityStats()  | 
long | 
getFlushCount()  | 
MBeanNotificationInfo[] | 
getNotificationInfo() | 
long | 
getOptimisticFailureCount()  | 
long | 
getPrepareStatementCount()  | 
long | 
getQueryExecutionCount()  | 
double | 
getQueryExecutionRate()  | 
long | 
getQueryExecutionSample()  | 
TabularData | 
getQueryStats()  | 
long | 
getSessionCloseCount()  | 
long | 
getSessionOpenCount()  | 
long | 
getSuccessfulTransactionCount()  | 
long | 
getTransactionCount()  | 
boolean | 
isStatisticsEnabled()  | 
void | 
setStatisticsEnabled(boolean flag)  | 
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 HibernateStatsImpl(SessionFactory sessionFactory) throws NotCompliantMBeanException
SessionFactorysessionFactory - the SessionFactory to source stats fromNotCompliantMBeanException - thrown from JMX super ctorpublic void clearStats()
clearStats in interface net.sf.ehcache.hibernate.management.api.HibernateStatspublic void disableStats()
disableStats in interface net.sf.ehcache.hibernate.management.api.HibernateStatspublic void enableStats()
enableStats in interface net.sf.ehcache.hibernate.management.api.HibernateStatspublic long getCloseStatementCount()
getCloseStatementCount in interface net.sf.ehcache.hibernate.management.api.HibernateStatspublic long getConnectCount()
getConnectCount in interface net.sf.ehcache.hibernate.management.api.HibernateStats@Deprecated public long getDBSQLExecutionSample()
UnsupportedOperationExceptionpublic long getFlushCount()
getFlushCount in interface net.sf.ehcache.hibernate.management.api.HibernateStatspublic long getOptimisticFailureCount()
getOptimisticFailureCount in interface net.sf.ehcache.hibernate.management.api.HibernateStatspublic long getPrepareStatementCount()
getPrepareStatementCount in interface net.sf.ehcache.hibernate.management.api.HibernateStatspublic long getQueryExecutionCount()
getQueryExecutionCount in interface net.sf.ehcache.hibernate.management.api.HibernateStatspublic double getQueryExecutionRate()
getQueryExecutionRate in interface net.sf.ehcache.hibernate.management.api.HibernateStatspublic long getQueryExecutionSample()
getQueryExecutionSample in interface net.sf.ehcache.hibernate.management.api.HibernateStatspublic long getSessionCloseCount()
getSessionCloseCount in interface net.sf.ehcache.hibernate.management.api.HibernateStatspublic long getSessionOpenCount()
getSessionOpenCount in interface net.sf.ehcache.hibernate.management.api.HibernateStatspublic long getSuccessfulTransactionCount()
getSuccessfulTransactionCount in interface net.sf.ehcache.hibernate.management.api.HibernateStatspublic long getTransactionCount()
getTransactionCount in interface net.sf.ehcache.hibernate.management.api.HibernateStatspublic boolean isStatisticsEnabled()
isStatisticsEnabled in interface net.sf.ehcache.hibernate.management.api.HibernateStatspublic void setStatisticsEnabled(boolean flag)
setStatisticsEnabled in interface net.sf.ehcache.hibernate.management.api.HibernateStatspublic TabularData getEntityStats()
getEntityStats in interface net.sf.ehcache.hibernate.management.api.HibernateStatspublic TabularData getCollectionStats()
getCollectionStats in interface net.sf.ehcache.hibernate.management.api.HibernateStatspublic TabularData getQueryStats()
getQueryStats in interface net.sf.ehcache.hibernate.management.api.HibernateStatspublic TabularData getCacheRegionStats()
getCacheRegionStats in interface net.sf.ehcache.hibernate.management.api.HibernateStatsprotected void doDispose()
AbstractEmitterBeandoDispose in class AbstractEmitterBeanpublic MBeanNotificationInfo[] getNotificationInfo()
AbstractEmitterBeangetNotificationInfo in interface NotificationBroadcastergetNotificationInfo in class AbstractEmitterBeanCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.