|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.cache.ehcache.management.impl.NullHibernateStats
public final class NullHibernateStats
Implementation of HibernateStats
that does nothing
Field Summary | |
---|---|
static net.sf.ehcache.hibernate.management.api.HibernateStats |
INSTANCE
Singleton instance. |
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 | |
---|---|
void |
addNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback)
|
void |
clearStats()
|
void |
disableStats()
|
void |
enableStats()
|
TabularData |
getCacheRegionStats()
|
long |
getCloseStatementCount()
|
TabularData |
getCollectionStats()
|
long |
getConnectCount()
|
long |
getDBSQLExecutionSample()
Not supported right now |
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 |
removeNotificationListener(NotificationListener listener)
|
void |
removeNotificationListener(NotificationListener listener,
NotificationFilter filter,
Object handback)
|
void |
setStatisticsEnabled(boolean flag)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final net.sf.ehcache.hibernate.management.api.HibernateStats INSTANCE
Method Detail |
---|
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
removeNotificationListener
in interface NotificationEmitter
ListenerNotFoundException
NotificationEmitter.removeNotificationListener(javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object)
public void addNotificationListener(NotificationListener listener, NotificationFilter filter, Object handback) throws IllegalArgumentException
addNotificationListener
in interface NotificationBroadcaster
IllegalArgumentException
NotificationBroadcaster.addNotificationListener(javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object)
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |