|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HibernateStats
Interface for hibernate related statistics of hibernate second level cache
Field Summary | |
---|---|
static String |
CACHE_ENABLED
CACHE_ENABLED |
static String |
CACHE_FLUSHED
CACHE_FLUSHED |
static String |
CACHE_REGION_CHANGED
CACHE_REGION_CHANGED |
static String |
CACHE_REGION_FLUSHED
CACHE_REGION_FLUSHED |
static String |
CACHE_STATISTICS_ENABLED
CACHE_STATISTICS_ENABLED |
static String |
CACHE_STATISTICS_RESET
CACHE_STATISTICS_RESET |
Method Summary | |
---|---|
void |
clearStats()
Clears statistics, resets all counters to zero |
void |
disableStats()
Disables statistics collection |
void |
enableStats()
Enables statistics collection |
TabularData |
getCacheRegionStats()
Returns TabularData of cache region stats |
long |
getCloseStatementCount()
Returns the count of close statements |
TabularData |
getCollectionStats()
Returns TabularData of collection stats |
long |
getConnectCount()
Return connect counts |
TabularData |
getEntityStats()
Returns TabularData of entity stats |
long |
getFlushCount()
Returns flush count |
long |
getOptimisticFailureCount()
Returns Optimistic failure count |
long |
getPrepareStatementCount()
Returns prepare statement count |
long |
getQueryExecutionCount()
Returns the query execution count. |
double |
getQueryExecutionRate()
Returns rate of HQL query executed in the DB |
long |
getQueryExecutionSample()
Returns last count sample of HQL's getting executed in the DB. |
TabularData |
getQueryStats()
Returns TabularData of query stats |
long |
getSessionCloseCount()
Returns session close count |
long |
getSessionOpenCount()
Returns session open count |
long |
getSuccessfulTransactionCount()
Returns successful transaction count |
long |
getTransactionCount()
Returns transaction count |
boolean |
isStatisticsEnabled()
Returns true if statistics collection is enabled otherwise false |
void |
setStatisticsEnabled(boolean flag)
Enable/Disable statistics collection |
Methods inherited from interface javax.management.NotificationEmitter |
---|
removeNotificationListener |
Methods inherited from interface javax.management.NotificationBroadcaster |
---|
addNotificationListener, getNotificationInfo, removeNotificationListener |
Field Detail |
---|
static final String CACHE_ENABLED
static final String CACHE_REGION_CHANGED
static final String CACHE_FLUSHED
static final String CACHE_REGION_FLUSHED
static final String CACHE_STATISTICS_ENABLED
static final String CACHE_STATISTICS_RESET
Method Detail |
---|
boolean isStatisticsEnabled()
void setStatisticsEnabled(boolean flag)
flag
- void enableStats()
void disableStats()
void clearStats()
long getQueryExecutionCount()
long getQueryExecutionSample()
double getQueryExecutionRate()
long getCloseStatementCount()
long getConnectCount()
long getFlushCount()
long getOptimisticFailureCount()
long getPrepareStatementCount()
long getSessionCloseCount()
long getSessionOpenCount()
long getSuccessfulTransactionCount()
long getTransactionCount()
TabularData getEntityStats()
TabularData
of entity stats
TabularData
of entity statsTabularData getCollectionStats()
TabularData
of collection stats
TabularData
of collection statsTabularData getQueryStats()
TabularData
of query stats
TabularData
of query statsTabularData getCacheRegionStats()
TabularData
of cache region stats
TabularData
of cache region stats
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |