public final class NullHibernateStats extends Object implements net.sf.ehcache.hibernate.management.api.HibernateStats
HibernateStats
that does nothing
Modifier and Type | Field and Description |
---|---|
static net.sf.ehcache.hibernate.management.api.HibernateStats |
INSTANCE
Singleton instance.
|
public static final net.sf.ehcache.hibernate.management.api.HibernateStats INSTANCE
public void clearStats()
clearStats
in interface net.sf.ehcache.hibernate.management.api.HibernateStats
HibernateStats.clearStats()
public void disableStats()
disableStats
in interface net.sf.ehcache.hibernate.management.api.HibernateStats
HibernateStats.disableStats()
public void enableStats()
enableStats
in interface net.sf.ehcache.hibernate.management.api.HibernateStats
HibernateStats.enableStats()
public long getCloseStatementCount()
getCloseStatementCount
in interface net.sf.ehcache.hibernate.management.api.HibernateStats
HibernateStats.getCloseStatementCount()
public TabularData getCollectionStats()
getCollectionStats
in interface net.sf.ehcache.hibernate.management.api.HibernateStats
HibernateStats.getCollectionStats()
public long getConnectCount()
getConnectCount
in interface net.sf.ehcache.hibernate.management.api.HibernateStats
HibernateStats.getConnectCount()
public long getDBSQLExecutionSample()
public TabularData getEntityStats()
getEntityStats
in interface net.sf.ehcache.hibernate.management.api.HibernateStats
HibernateStats.getEntityStats()
public long getFlushCount()
getFlushCount
in interface net.sf.ehcache.hibernate.management.api.HibernateStats
HibernateStats.getFlushCount()
public long getOptimisticFailureCount()
getOptimisticFailureCount
in interface net.sf.ehcache.hibernate.management.api.HibernateStats
HibernateStats.getOptimisticFailureCount()
public long getPrepareStatementCount()
getPrepareStatementCount
in interface net.sf.ehcache.hibernate.management.api.HibernateStats
HibernateStats.getPrepareStatementCount()
public long getQueryExecutionCount()
getQueryExecutionCount
in interface net.sf.ehcache.hibernate.management.api.HibernateStats
HibernateStats.getQueryExecutionCount()
public double getQueryExecutionRate()
getQueryExecutionRate
in interface net.sf.ehcache.hibernate.management.api.HibernateStats
HibernateStats.getQueryExecutionRate()
public long getQueryExecutionSample()
getQueryExecutionSample
in interface net.sf.ehcache.hibernate.management.api.HibernateStats
HibernateStats.getQueryExecutionSample()
public TabularData getQueryStats()
getQueryStats
in interface net.sf.ehcache.hibernate.management.api.HibernateStats
HibernateStats.getQueryStats()
public long getSessionCloseCount()
getSessionCloseCount
in interface net.sf.ehcache.hibernate.management.api.HibernateStats
HibernateStats.getSessionCloseCount()
public long getSessionOpenCount()
getSessionOpenCount
in interface net.sf.ehcache.hibernate.management.api.HibernateStats
HibernateStats.getSessionOpenCount()
public long getSuccessfulTransactionCount()
getSuccessfulTransactionCount
in interface net.sf.ehcache.hibernate.management.api.HibernateStats
HibernateStats.getSuccessfulTransactionCount()
public long getTransactionCount()
getTransactionCount
in interface net.sf.ehcache.hibernate.management.api.HibernateStats
HibernateStats.getTransactionCount()
public boolean isStatisticsEnabled()
isStatisticsEnabled
in interface net.sf.ehcache.hibernate.management.api.HibernateStats
HibernateStats.isStatisticsEnabled()
public void setStatisticsEnabled(boolean flag)
setStatisticsEnabled
in interface net.sf.ehcache.hibernate.management.api.HibernateStats
HibernateStats.setStatisticsEnabled(boolean)
public TabularData getCacheRegionStats()
getCacheRegionStats
in interface net.sf.ehcache.hibernate.management.api.HibernateStats
HibernateStats.getCacheRegionStats()
public void removeNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws ListenerNotFoundException
public void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws IllegalArgumentException
public MBeanNotificationInfo[] getNotificationInfo()
getNotificationInfo
in interface NotificationBroadcaster
NotificationBroadcaster.getNotificationInfo()
public void removeNotificationListener(NotificationListener listener) throws ListenerNotFoundException
removeNotificationListener
in interface NotificationBroadcaster
ListenerNotFoundException
NotificationBroadcaster.removeNotificationListener(javax.management.NotificationListener)
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.