public class ConcurrentStatisticsImpl extends Object implements org.hibernate.stat.Statistics, org.hibernate.stat.StatisticsImplementor
Statistics, as well as StatisticsImplementor, based on the
java.util.concurrent package introduced in Java 5.| Constructor and Description |
|---|
ConcurrentStatisticsImpl() |
ConcurrentStatisticsImpl(org.hibernate.engine.SessionFactoryImplementor sessionFactory) |
public ConcurrentStatisticsImpl()
public ConcurrentStatisticsImpl(org.hibernate.engine.SessionFactoryImplementor sessionFactory)
public void clear()
clear in interface org.hibernate.stat.Statisticspublic void openSession()
openSession in interface org.hibernate.stat.StatisticsImplementorpublic void closeSession()
closeSession in interface org.hibernate.stat.StatisticsImplementorpublic void flush()
flush in interface org.hibernate.stat.StatisticsImplementorpublic void connect()
connect in interface org.hibernate.stat.StatisticsImplementorpublic void loadEntity(String entityName)
loadEntity in interface org.hibernate.stat.StatisticsImplementorpublic void fetchEntity(String entityName)
fetchEntity in interface org.hibernate.stat.StatisticsImplementorpublic org.hibernate.stat.EntityStatistics getEntityStatistics(String entityName)
getEntityStatistics in interface org.hibernate.stat.StatisticsentityName - entity namepublic void updateEntity(String entityName)
updateEntity in interface org.hibernate.stat.StatisticsImplementorpublic void insertEntity(String entityName)
insertEntity in interface org.hibernate.stat.StatisticsImplementorpublic void deleteEntity(String entityName)
deleteEntity in interface org.hibernate.stat.StatisticsImplementorpublic org.hibernate.stat.CollectionStatistics getCollectionStatistics(String role)
getCollectionStatistics in interface org.hibernate.stat.Statisticsrole - collection rolepublic void loadCollection(String role)
loadCollection in interface org.hibernate.stat.StatisticsImplementorpublic void fetchCollection(String role)
fetchCollection in interface org.hibernate.stat.StatisticsImplementorpublic void updateCollection(String role)
updateCollection in interface org.hibernate.stat.StatisticsImplementorpublic void recreateCollection(String role)
recreateCollection in interface org.hibernate.stat.StatisticsImplementorpublic void removeCollection(String role)
removeCollection in interface org.hibernate.stat.StatisticsImplementorpublic org.hibernate.stat.SecondLevelCacheStatistics getSecondLevelCacheStatistics(String regionName)
getSecondLevelCacheStatistics in interface org.hibernate.stat.StatisticsregionName - region namepublic void secondLevelCachePut(String regionName)
secondLevelCachePut in interface org.hibernate.stat.StatisticsImplementorpublic void secondLevelCacheHit(String regionName)
secondLevelCacheHit in interface org.hibernate.stat.StatisticsImplementorpublic void secondLevelCacheMiss(String regionName)
secondLevelCacheMiss in interface org.hibernate.stat.StatisticsImplementorpublic void queryExecuted(String hql, int rows, long time)
queryExecuted in interface org.hibernate.stat.StatisticsImplementorpublic void queryCacheHit(String hql, String regionName)
queryCacheHit in interface org.hibernate.stat.StatisticsImplementorpublic void queryCacheMiss(String hql, String regionName)
queryCacheMiss in interface org.hibernate.stat.StatisticsImplementorpublic void queryCachePut(String hql, String regionName)
queryCachePut in interface org.hibernate.stat.StatisticsImplementorpublic org.hibernate.stat.QueryStatistics getQueryStatistics(String queryString)
getQueryStatistics in interface org.hibernate.stat.StatisticsqueryString - query stringpublic long getEntityDeleteCount()
getEntityDeleteCount in interface org.hibernate.stat.Statisticspublic long getEntityInsertCount()
getEntityInsertCount in interface org.hibernate.stat.Statisticspublic long getEntityLoadCount()
getEntityLoadCount in interface org.hibernate.stat.Statisticspublic long getEntityFetchCount()
getEntityFetchCount in interface org.hibernate.stat.Statisticspublic long getEntityUpdateCount()
getEntityUpdateCount in interface org.hibernate.stat.Statisticspublic long getQueryExecutionCount()
getQueryExecutionCount in interface org.hibernate.stat.Statisticspublic long getQueryCacheHitCount()
getQueryCacheHitCount in interface org.hibernate.stat.Statisticspublic long getQueryCacheMissCount()
getQueryCacheMissCount in interface org.hibernate.stat.Statisticspublic long getQueryCachePutCount()
getQueryCachePutCount in interface org.hibernate.stat.Statisticspublic long getFlushCount()
getFlushCount in interface org.hibernate.stat.Statisticspublic long getConnectCount()
getConnectCount in interface org.hibernate.stat.Statisticspublic long getSecondLevelCacheHitCount()
getSecondLevelCacheHitCount in interface org.hibernate.stat.Statisticspublic long getSecondLevelCacheMissCount()
getSecondLevelCacheMissCount in interface org.hibernate.stat.Statisticspublic long getSecondLevelCachePutCount()
getSecondLevelCachePutCount in interface org.hibernate.stat.Statisticspublic long getSessionCloseCount()
getSessionCloseCount in interface org.hibernate.stat.Statisticspublic long getSessionOpenCount()
getSessionOpenCount in interface org.hibernate.stat.Statisticspublic long getCollectionLoadCount()
getCollectionLoadCount in interface org.hibernate.stat.Statisticspublic long getCollectionFetchCount()
getCollectionFetchCount in interface org.hibernate.stat.Statisticspublic long getCollectionUpdateCount()
getCollectionUpdateCount in interface org.hibernate.stat.Statisticspublic long getCollectionRemoveCount()
getCollectionRemoveCount in interface org.hibernate.stat.Statisticspublic long getCollectionRecreateCount()
getCollectionRecreateCount in interface org.hibernate.stat.Statisticspublic long getStartTime()
getStartTime in interface org.hibernate.stat.StatisticsSystem.currentTimeMillis())public void logSummary()
logSummary in interface org.hibernate.stat.Statisticspublic boolean isStatisticsEnabled()
isStatisticsEnabled in interface org.hibernate.stat.Statisticspublic void setStatisticsEnabled(boolean b)
setStatisticsEnabled in interface org.hibernate.stat.Statisticspublic long getQueryExecutionMaxTime()
getQueryExecutionMaxTime in interface org.hibernate.stat.Statisticspublic String[] getQueries()
getQueries in interface org.hibernate.stat.Statisticspublic String[] getEntityNames()
getEntityNames in interface org.hibernate.stat.Statisticspublic String[] getCollectionRoleNames()
getCollectionRoleNames in interface org.hibernate.stat.Statisticspublic String[] getSecondLevelCacheRegionNames()
getSecondLevelCacheRegionNames in interface org.hibernate.stat.Statisticspublic void endTransaction(boolean success)
endTransaction in interface org.hibernate.stat.StatisticsImplementorpublic long getSuccessfulTransactionCount()
getSuccessfulTransactionCount in interface org.hibernate.stat.Statisticspublic long getTransactionCount()
getTransactionCount in interface org.hibernate.stat.Statisticspublic void closeStatement()
closeStatement in interface org.hibernate.stat.StatisticsImplementorpublic void prepareStatement()
prepareStatement in interface org.hibernate.stat.StatisticsImplementorpublic long getCloseStatementCount()
getCloseStatementCount in interface org.hibernate.stat.Statisticspublic long getPrepareStatementCount()
getPrepareStatementCount in interface org.hibernate.stat.Statisticspublic void optimisticFailure(String entityName)
optimisticFailure in interface org.hibernate.stat.StatisticsImplementorpublic long getOptimisticFailureCount()
getOptimisticFailureCount in interface org.hibernate.stat.Statisticspublic String getQueryExecutionMaxTimeQueryString()
getQueryExecutionMaxTimeQueryString in interface org.hibernate.stat.Statistics
Version: 5.2.6-ice35-b35
Copyright © 2016 The University of Dundee & Open Microscopy Environment. All Rights Reserved.