Deprecated
Use org. instead
org.hibernate.stat.Statistics
| Modifier and Type | Field and Description |
|---|---|
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private final Map | collectionStatistics
collection statistics per name |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private final Map | entityStatistics
entity statistics per name |
| private long | |
| private long | |
| private boolean | |
| private static final Logger | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private long | |
| private String | |
| private final Map | queryStatistics
entity statistics per query string (HQL or SQL) |
| private long | |
| private long | |
| private long | |
| private final Map | secondLevelCacheStatistics
second level cache statistics per region |
| private long | |
| private SessionFactoryImplementor | |
| private long | |
| private long | |
| private long |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | |
| public synchronized void | closeSession()
Implements org. |
| public void | closeStatement()
Implements org. |
| public synchronized void | connect()
Implements org. org.
|
| public synchronized void | deleteEntity(String
The name of the entity deleted. entityName)Implements org. |
| public void | endTransaction(boolean
Was the transaction successful? success)Implements org. |
| public synchronized void | fetchCollection(String
The collection role. role)Implements org. |
| public synchronized void | fetchEntity(String
The name of the entity fetched. entityName)Implements org. |
| public synchronized void | |
| public long | getCloseStatementCount()
Implements org. |
| public long | Returns: collection fetching (from DB)Implements org. |
| public long | Returns: collection loading (from DB)Implements org. |
| public long | Returns: collection recreationImplements org. |
| public long | Returns: collection removal FIXME: even if isInverse="true"?Implements org. |
| public String[] | getCollectionRoleNames()
Implements org. |
| public synchronized CollectionStatistics | Returns: CollectionStatisticscollection role role)Implements org. |
| public long | Returns: collection updateImplements org. |
| public long | Returns: session connectImplements org. |
| public long | Returns: entity deletion countImplements org. |
| public long | Returns: entity fetch (from DB)Implements org. |
| public long | Returns: entity insertion countImplements org. |
| public long | Returns: entity load (from DB)Implements org. |
| public String[] | getEntityNames()
Implements org. |
| public synchronized EntityStatistics | Returns: EntityStatistics objectentity name entityName)Implements org. |
| public long | Returns: entity updateImplements org. |
| public long | Returns: flushImplements org. |
| public long | getOptimisticFailureCount()
Implements org. |
| public long | getPrepareStatementCount()
Implements org. |
| public String[] | |
| public long | getQueryCacheHitCount()
Implements org. |
| public long | getQueryCacheMissCount()
Implements org. |
| public long | getQueryCachePutCount()
Implements org. |
| public long | getQueryExecutionCount()
Implements org. |
| public long | Returns: Returns the max query execution time, for all queriesImplements org. |
| public String | getQueryExecutionMaxTimeQueryString()
Implements org. |
| public synchronized QueryStatistics | Returns: QueryStatisticsquery string queryString)Implements org. |
| public long | Returns: second level cache hitImplements org. |
| public long | Returns: second level cache missImplements org. |
| public long | Returns: second level cache putImplements org. |
| public String[] | getSecondLevelCacheRegionNames()
Implements org. |
| public synchronized SecondLevelCacheStatistics | Returns: SecondLevelCacheStatisticsregion name regionName)Implements org. |
| public long | Returns: session closingImplements org. |
| public long | Returns: session openingImplements org. |
| public long | Returns: start time in ms (JVM standardsSystem#currentTimeMillis())Implements org. |
| public long | getSuccessfulTransactionCount()
Implements org. |
| public long | getTransactionCount()
Implements org. |
| public synchronized void | insertEntity(String
The name of the entity inserted entityName)Implements org. |
| public boolean | isStatisticsEnabled()
Implements org. |
| public synchronized void | loadCollection(String
The collection role. role)Implements org. |
| public synchronized void | loadEntity(String
The name of the entity loaded. entityName)Implements org. |
| public void | logSummary()
Implements org. |
| public synchronized void | openSession()
Implements org. |
| public void | optimisticFailure(String
The name of the entity. entityName)Implements org. |
| public void | prepareStatement()
Implements org. |
| public synchronized void | queryCacheHit(String
The query hql, String The name of the cache region regionName)Implements org. |
| public synchronized void | queryCacheMiss(String
The query hql, String The name of the cache region regionName)Implements org. |
| public synchronized void | queryCachePut(String
The query hql, String The cache region regionName)Implements org. |
| public synchronized void | queryExecuted(String
The query hql, int Number of rows returned rows, long execution time time)Implements org. |
| public synchronized void | recreateCollection(String
The collection role. role)Implements org. |
| public synchronized void | removeCollection(String
The collection role. role)Implements org. |
| public synchronized void | secondLevelCacheHit(String
The name of the cache region regionName)Implements org. |
| public synchronized void | secondLevelCacheMiss(String
The name of the cache region regionName)Implements org. |
| public synchronized void | secondLevelCachePut(String
The name of the cache region regionName)Implements org. |
| public void | setStatisticsEnabled(boolean b)
Implements org. |
| public String | |
| public synchronized void | updateCollection(String
The collection role. role)Implements org. |
| public synchronized void | updateEntity(String
The name of the entity updated. entityName)Implements org. |