Statistics, as well as StatisticsImplementor, based on the
java.util.concurrent package introduced in Java 5.
| Modifier and Type | Field and Description |
|---|---|
| private AtomicLong | |
| private AtomicLong | |
| private AtomicLong | |
| private AtomicLong | |
| private AtomicLong | |
| private final ConcurrentMap | collectionStatistics
collection statistics per name |
| private AtomicLong | |
| private AtomicLong | |
| private AtomicLong | |
| private AtomicLong | |
| private AtomicLong | |
| private AtomicLong | |
| private AtomicLong | |
| private final ConcurrentMap | entityStatistics
entity statistics per name |
| private AtomicLong | |
| private AtomicLong | |
| private static final boolean | |
| private volatile boolean | |
| private static final Logger | |
| private AtomicLong | |
| private static final Logger | |
| private AtomicLong | |
| private AtomicLong | |
| private AtomicLong | |
| private AtomicLong | |
| private AtomicLong | |
| private AtomicLong | |
| private volatile String | |
| private final ConcurrentMap | queryStatistics
entity statistics per query string (HQL or SQL) |
| private AtomicLong | |
| private AtomicLong | |
| private AtomicLong | |
| private final ConcurrentMap | secondLevelCacheStatistics
second level cache statistics per region |
| private AtomicLong | |
| private SessionFactoryImplementor | |
| private AtomicLong | |
| private volatile long | |
| private AtomicLong |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | closeSession()
Implements org. |
| public void | closeStatement()
Implements org. |
| public void | connect()
Implements org. org.
|
| public void | deleteEntity(String
The name of the entity deleted. entityName)Implements org. |
| public void | endTransaction(boolean
Was the transaction successful? success)Implements org. |
| public void | fetchCollection(String
The collection role. role)Implements org. |
| public void | fetchEntity(String
The name of the entity fetched. entityName)Implements org. |
| public 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 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 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 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 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 void | insertEntity(String
The name of the entity inserted entityName)Implements org. |
| public boolean | isStatisticsEnabled()
Implements org. |
| public void | loadCollection(String
The collection role. role)Implements org. |
| public void | loadEntity(String
The name of the entity loaded. entityName)Implements org. |
| public void | logSummary()
Implements org. |
| public void | openSession()
Implements org. |
| public void | optimisticFailure(String
The name of the entity. entityName)Implements org. |
| public void | prepareStatement()
Implements org. |
| public void | queryCacheHit(String
The query hql, String The name of the cache region regionName)Implements org. |
| public void | queryCacheMiss(String
The query hql, String The name of the cache region regionName)Implements org. |
| public void | queryCachePut(String
The query hql, String The cache region regionName)Implements org. |
| public void | queryExecuted(String
The query hql, int Number of rows returned rows, long execution time time)Implements org. |
| public void | recreateCollection(String
The collection role. role)Implements org. |
| public void | removeCollection(String
The collection role. role)Implements org. |
| public void | secondLevelCacheHit(String
The name of the cache region regionName)Implements org. |
| public void | secondLevelCacheMiss(String
The name of the cache region regionName)Implements org. |
| public void | secondLevelCachePut(String
The name of the cache region regionName)Implements org. |
| public void | setStatisticsEnabled(boolean b)
Implements org. |
| public String | |
| public void | updateCollection(String
The collection role. role)Implements org. |
| public void | updateEntity(String
The name of the entity updated. entityName)Implements org. |