Deprecated
as a consequence of Manageable being deprecated. See corresponding docs for further information.
org.hibernate.stat.Statistics based on the java.util.concurrent package.
| Modifier and Type | Field and Description |
|---|---|
| private final CacheImplementor | cache
Deprecated
as a consequence of
CacheImplementor being deprecated.
|
| private final String | |
| private final LongAdder | |
| private final LongAdder | |
| private final LongAdder | |
| private final LongAdder | |
| private final LongAdder | |
| private final StatsNamedContainer | |
| private final LongAdder | |
| private final LongAdder | |
| private final LongAdder | |
| private final StatsNamedContainer | |
| private final LongAdder | |
| private final LongAdder | |
| private final LongAdder | |
| private final LongAdder | |
| private final StatsNamedContainer | |
| private final LongAdder | |
| private final LongAdder | |
| private volatile boolean | |
| private final StatsNamedContainer | l2CacheStatsMap
Keyed by region name |
| private static final CoreMessageLogger | |
| private final MetamodelImplementor | |
| private final LongAdder | |
| private final LongAdder | |
| private final LongAdder | |
| private final LongAdder | |
| private final AtomicLong | |
| private volatile String | |
| private volatile String | |
| private final StatsNamedContainer | |
| private final LongAdder | |
| private final LongAdder | |
| private final boolean | |
| private final LongAdder | |
| private final LongAdder | |
| private final LongAdder | |
| private final LongAdder | |
| private final AtomicLong | |
| private volatile String | |
| private final LongAdder | |
| private final LongAdder | |
| private final StatsNamedContainer | queryStatsMap
Keyed by query string |
| private final boolean | |
| private final LongAdder | |
| private final LongAdder | |
| private final LongAdder | |
| private final LongAdder | |
| private final LongAdder | |
| private volatile long | |
| private final LongAdder | |
| private final LongAdder | |
| private final LongAdder | |
| private final LongAdder |
| Access | Constructor and Description |
|---|---|
| public | StatisticsImpl(SessionFactoryImplementor sessionFactory)
Deprecated
as a consequence of
SessionFactoryImplementor being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | closeSession()
Implements org. |
| public void | closeStatement()
Implements org. |
| public void | collectionCacheHit(NavigableRole
The collection's "path" collectionRole, String The name of the cache region regionName)Implements org. |
| public void | collectionCacheMiss(NavigableRole
The collection's "path" collectionRole, String The name of the cache region regionName)Implements org. |
| public void | collectionCachePut(NavigableRole
The collection's "path" collectionRole, String The name of the cache region regionName)Implements org. |
| private CacheRegionStatisticsImpl | computeQueryRegionStatistics(final String regionName)
Deprecated
as a consequence of
CacheRegionStatisticsImpl being deprecated.
|
| public void | connect()
Implements org. org.
|
| private CacheRegionStatisticsImpl | createCacheRegionStatistics(final String regionName)
Deprecated
as a consequence of
CacheRegionStatisticsImpl being deprecated.
|
| 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 | entityCacheHit(NavigableRole entityName, String regionName)
Implements org. |
| public void | entityCacheMiss(NavigableRole entityName, String regionName)
Implements org. |
| public void | entityCachePut(NavigableRole entityName, String regionName)
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 | flush()
Implements org. |
| public CacheRegionStatisticsImpl | getCacheRegionStatistics(String
The unqualified region name regionName)Implements org.
Deprecated
as a consequence of
Get statistics for either a domain-data or query-result region - this
method checks both, preferring domain data region if one.
CacheRegionStatisticsImpl being deprecated.
|
| public long | getCloseStatementCount()
Implements org. |
| public long | getCollectionFetchCount()
Implements org. |
| public long | getCollectionLoadCount()
Implements org. |
| public long | getCollectionRecreateCount()
Implements org. |
| public long | getCollectionRemoveCount()
Implements org. |
| public String[] | getCollectionRoleNames()
Implements org. |
| public CollectionStatisticsImpl | getCollectionStatistics(String
collection role role)Implements org. |
| public long | getCollectionUpdateCount()
Implements org. |
| public long | getConnectCount()
Implements org. |
| public CacheRegionStatisticsImpl | getDomainDataRegionStatistics(String
The unqualified region name regionName)Implements org.
Deprecated
as a consequence of
Second-level cache statistics per domain data (entity, collection, natural-id) region
CacheRegionStatisticsImpl being deprecated.
|
| public long | getEntityDeleteCount()
Implements org. |
| public long | getEntityFetchCount()
Implements org. |
| public long | getEntityInsertCount()
Implements org. |
| public long | getEntityLoadCount()
Implements org. |
| public String[] | getEntityNames()
Implements org. |
| public EntityStatisticsImpl | getEntityStatistics(String
entity name entityName)Implements org. |
| public long | getEntityUpdateCount()
Implements org. |
| public long | getFlushCount()
Implements org. |
| public long | getNaturalIdCacheHitCount()
Implements org. |
| public long | getNaturalIdCacheMissCount()
Implements org. |
| public long | getNaturalIdCachePutCount()
Implements org. |
| public DeprecatedNaturalIdCacheStatisticsImpl | getNaturalIdCacheStatistics(String
region name regionName)Implements org.
Deprecated
as a consequence of
Natural id cache statistics per region
DeprecatedNaturalIdCacheStatisticsImpl being deprecated.
|
| public long | getNaturalIdQueryExecutionCount()
Implements org. |
| public long | getNaturalIdQueryExecutionMaxTime()
Implements org. |
| public String | getNaturalIdQueryExecutionMaxTimeEntity()
Implements org. |
| public String | getNaturalIdQueryExecutionMaxTimeRegion()
Implements org. |
| public NaturalIdStatisticsImpl | getNaturalIdStatistics(String
The entity name that is the root of the hierarchy containing the
natural id rootEntityName)Implements 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 | getQueryExecutionMaxTime()
Implements org. |
| public String | getQueryExecutionMaxTimeQueryString()
Implements org. |
| public long | getQueryPlanCacheHitCount()
Overrides default org. |
| public long | getQueryPlanCacheMissCount()
Overrides default org. |
| public CacheRegionStatisticsImpl | getQueryRegionStatistics(final String
The unqualified region name regionName)Implements org.
Deprecated
as a consequence of
Second-level cache statistics per query region
CacheRegionStatisticsImpl being deprecated.
|
| private CacheRegionStatisticsImpl | getQueryRegionStats(String regionName)
Deprecated
as a consequence of
CacheRegionStatisticsImpl being deprecated.
|
| public QueryStatisticsImpl | getQueryStatistics(String
query string queryString)Implements org. |
| public long | getSecondLevelCacheHitCount()
Implements org. |
| public long | getSecondLevelCacheMissCount()
Implements org. |
| public long | getSecondLevelCachePutCount()
Implements org. |
| public String[] | getSecondLevelCacheRegionNames()
Implements org. |
| public CacheRegionStatisticsImpl | getSecondLevelCacheStatistics(String
qualified region name regionName)Implements org.
Deprecated
as a consequence of
Second-level cache statistics per region
CacheRegionStatisticsImpl being deprecated.
|
| public long | getSessionCloseCount()
Implements org. |
| public long | getSessionOpenCount()
Implements org. |
| public long | getStartTime()
Implements org. System#currentTimeMillis())
since the initial creation of this Statistics
instance or the last time clear() was called.
|
| public long | getSuccessfulTransactionCount()
Implements org. |
| public long | getTransactionCount()
Implements org. |
| public long | getUpdateTimestampsCacheHitCount()
Implements org. |
| public long | getUpdateTimestampsCacheMissCount()
Implements org. |
| public long | getUpdateTimestampsCachePutCount()
Implements org. |
| public void | insertEntity(String
The name of the entity inserted entityName)Implements org. |
| private CacheRegionStatisticsImpl | instantiateCacheRegionStatistics(final String regionName)
Deprecated
as a consequence of
CacheRegionStatisticsImpl being deprecated.
|
| private CacheRegionStatisticsImpl | instantiateCacheRegionStatsForQueryResults(final String regionName)
Deprecated
as a consequence of
CacheRegionStatisticsImpl being deprecated.
|
| private CollectionStatisticsImpl | |
| private DeprecatedNaturalIdCacheStatisticsImpl | instantiateDeprecatedNaturalIdCacheStatistics(final String unqualifiedRegionName)
Deprecated
as a consequence of
DeprecatedNaturalIdCacheStatisticsImpl being deprecated.
|
| private EntityStatisticsImpl | |
| private NaturalIdStatisticsImpl | |
| 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 | naturalIdCacheHit(NavigableRole rootEntityName, String regionName)
Implements org. |
| public void | naturalIdCacheMiss(NavigableRole rootEntityName, String regionName)
Implements org. |
| public void | naturalIdCachePut(NavigableRole rootEntityName, String regionName)
Implements org. |
| public void | naturalIdQueryExecuted(String rootEntityName, long time)
Implements org. |
| public void | openSession()
Implements org. |
| public void | optimisticFailure(String
The name of the entity. entityName)Implements org. |
| public void | prepareStatement()
Implements org. |
| private String | |
| 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 | queryCompiled(String
The query hql, long execution time microseconds)Overrides default org. |
| public void | queryExecuted(String
The query hql, int Number of rows returned rows, long execution time time)Implements org. |
| public void | queryPlanCacheHit(String
The query query)Overrides default org. |
| public void | queryPlanCacheMiss(String
The query query)Overrides default org. |
| public void | recreateCollection(String
The collection role. role)Implements org. |
| public void | removeCollection(String
The collection role. role)Implements org. |
| private void | |
| 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. |
| public void | updateTimestampsCacheHit()
Implements org. |
| public void | updateTimestampsCacheMiss()
Implements org. |
| public void | updateTimestampsCachePut()
Implements org. |