Statistics based on the java.util.concurrent package.
| Modifier and Type | Field and Description |
|---|---|
| private final String[] | |
| private final String[] | |
| private final CacheImplementor | |
| 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 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 MappingMetamodelImplementor | |
| private final LongAdder | |
| private final LongAdder | |
| private final LongAdder | |
| private final LongAdder | |
| private final AtomicLong | |
| private volatile @Nullable String | |
| private volatile @Nullable 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 @Nullable 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 final Map | slowQueries
Keyed by query SQL |
| private volatile Instant | |
| 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 @Nullable CacheRegionStatisticsImpl | |
| public void | connect()
Implements org. org.
|
| private @Nullable CacheRegionStatisticsImpl | |
| 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 @Nullable CacheRegionStatisticsImpl | getCacheRegionStatistics(String
The unqualified region name regionName)Implements org. |
| 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
the 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. |
| public long | getEntityDeleteCount()
Implements org. |
| public long | getEntityFetchCount()
Implements org. |
| public long | getEntityInsertCount()
Implements org. |
| public long | getEntityLoadCount()
Implements org. |
| public String[] | |
| public EntityStatisticsImpl | getEntityStatistics(String
the 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 long | getNaturalIdQueryExecutionCount()
Implements org. |
| public long | getNaturalIdQueryExecutionMaxTime()
Implements org. |
| public @Nullable String | getNaturalIdQueryExecutionMaxTimeEntity()
Implements org. |
| public @Nullable 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. StaleObjectStateExceptions or JPA
OptimisticLockExceptions that have occurred.
|
| 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 @Nullable String | getQueryExecutionMaxTimeQueryString()
Implements org. |
| public long | getQueryPlanCacheHitCount()
Implements org. |
| public long | getQueryPlanCacheMissCount()
Implements org. |
| public @Nullable CacheRegionStatisticsImpl | getQueryRegionStatistics(final String
The unqualified region name regionName)Implements org. |
| private CacheRegionStatisticsImpl | |
| public QueryStatisticsImpl | getQueryStatistics(String
the query string, written in HQL or SQL queryString)Implements org. |
| public long | getSecondLevelCacheHitCount()
Implements org. |
| public long | getSecondLevelCacheMissCount()
Implements org. |
| public long | getSecondLevelCachePutCount()
Implements org. |
| public String[] | getSecondLevelCacheRegionNames()
Implements org. |
| public long | getSessionCloseCount()
Implements org. |
| public long | getSessionOpenCount()
Implements org. |
| public Map | getSlowQueries()
Overrides default org. |
| public Instant | getStart()
Implements org. Instant at which this instance of Statistics
was created, or since the last time clear() was called.
|
| public long | getStartTime()
Implements org. 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 | |
| private CacheRegionStatisticsImpl | |
| private CollectionStatisticsImpl | |
| 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. INFO.
|
| 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. |
| 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 enabled)
Implements org. |
| public void | slowQuery(String sql, long executionTime)
Overrides default 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. |