Record Class HibernateStatisticsInfo
java.lang.Object
java.lang.Record
io.micronaut.controlpanel.panels.hibernate.model.HibernateStatisticsInfo
- Record Components:
statisticsEnabled- whether statistics collection is enabledstartedAt- statistics start instantsessionOpenCount- opened session countsessionCloseCount- closed session counttransactionCount- transaction countsuccessfulTransactionCount- successful transaction countconnectCount- connection countflushCount- flush countprepareStatementCount- prepared statement countcloseStatementCount- closed statement countentityLoadCount- entity load countentityFetchCount- entity fetch countentityInsertCount- entity insert countentityUpdateCount- entity update countentityDeleteCount- entity delete countcollectionLoadCount- collection load countcollectionFetchCount- collection fetch countcollectionUpdateCount- collection update countcollectionRemoveCount- collection remove countcollectionRecreateCount- collection recreate countqueryExecutionCount- query execution countqueryExecutionMaxTime- slowest query timequeryExecutionMaxTimeQueryString- slowest query stringqueryCacheHitCount- query cache hit countqueryCacheMissCount- query cache miss countqueryCachePutCount- query cache put countsecondLevelCacheHitCount- second-level cache hit countsecondLevelCacheMissCount- second-level cache miss countsecondLevelCachePutCount- second-level cache put countnaturalIdCacheHitCount- natural-id cache hit countnaturalIdCacheMissCount- natural-id cache miss countnaturalIdCachePutCount- natural-id cache put countqueryPlanCacheHitCount- query plan cache hit countqueryPlanCacheMissCount- query plan cache miss countoptimisticFailureCount- optimistic failure count
public record HibernateStatisticsInfo(boolean statisticsEnabled, String startedAt, long sessionOpenCount, long sessionCloseCount, long transactionCount, long successfulTransactionCount, long connectCount, long flushCount, long prepareStatementCount, long closeStatementCount, long entityLoadCount, long entityFetchCount, long entityInsertCount, long entityUpdateCount, long entityDeleteCount, long collectionLoadCount, long collectionFetchCount, long collectionUpdateCount, long collectionRemoveCount, long collectionRecreateCount, long queryExecutionCount, long queryExecutionMaxTime, String queryExecutionMaxTimeQueryString, long queryCacheHitCount, long queryCacheMissCount, long queryCachePutCount, long secondLevelCacheHitCount, long secondLevelCacheMissCount, long secondLevelCachePutCount, long naturalIdCacheHitCount, long naturalIdCacheMissCount, long naturalIdCachePutCount, long queryPlanCacheHitCount, long queryPlanCacheMissCount, long optimisticFailureCount)
extends Record
Aggregated Hibernate statistics.
-
Constructor Summary
ConstructorsConstructorDescriptionHibernateStatisticsInfo(boolean statisticsEnabled, String startedAt, long sessionOpenCount, long sessionCloseCount, long transactionCount, long successfulTransactionCount, long connectCount, long flushCount, long prepareStatementCount, long closeStatementCount, long entityLoadCount, long entityFetchCount, long entityInsertCount, long entityUpdateCount, long entityDeleteCount, long collectionLoadCount, long collectionFetchCount, long collectionUpdateCount, long collectionRemoveCount, long collectionRecreateCount, long queryExecutionCount, long queryExecutionMaxTime, String queryExecutionMaxTimeQueryString, long queryCacheHitCount, long queryCacheMissCount, long queryCachePutCount, long secondLevelCacheHitCount, long secondLevelCacheMissCount, long secondLevelCachePutCount, long naturalIdCacheHitCount, long naturalIdCacheMissCount, long naturalIdCachePutCount, long queryPlanCacheHitCount, long queryPlanCacheMissCount, long optimisticFailureCount) Creates an instance of aHibernateStatisticsInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of thecloseStatementCountrecord component.longReturns the value of thecollectionFetchCountrecord component.longReturns the value of thecollectionLoadCountrecord component.longReturns the value of thecollectionRecreateCountrecord component.longReturns the value of thecollectionRemoveCountrecord component.longReturns the value of thecollectionUpdateCountrecord component.longReturns the value of theconnectCountrecord component.longReturns the value of theentityDeleteCountrecord component.longReturns the value of theentityFetchCountrecord component.longReturns the value of theentityInsertCountrecord component.longReturns the value of theentityLoadCountrecord component.longReturns the value of theentityUpdateCountrecord component.final booleanIndicates whether some other object is "equal to" this one.longReturns the value of theflushCountrecord component.final inthashCode()Returns a hash code value for this object.longReturns the value of thenaturalIdCacheHitCountrecord component.longReturns the value of thenaturalIdCacheMissCountrecord component.longReturns the value of thenaturalIdCachePutCountrecord component.longReturns the value of theoptimisticFailureCountrecord component.longReturns the value of theprepareStatementCountrecord component.longReturns the value of thequeryCacheHitCountrecord component.longReturns the value of thequeryCacheMissCountrecord component.longReturns the value of thequeryCachePutCountrecord component.longReturns the value of thequeryExecutionCountrecord component.longReturns the value of thequeryExecutionMaxTimerecord component.Returns the value of thequeryExecutionMaxTimeQueryStringrecord component.longReturns the value of thequeryPlanCacheHitCountrecord component.longReturns the value of thequeryPlanCacheMissCountrecord component.longReturns the value of thesecondLevelCacheHitCountrecord component.longReturns the value of thesecondLevelCacheMissCountrecord component.longReturns the value of thesecondLevelCachePutCountrecord component.longReturns the value of thesessionCloseCountrecord component.longReturns the value of thesessionOpenCountrecord component.Returns the value of thestartedAtrecord component.booleanReturns the value of thestatisticsEnabledrecord component.longReturns the value of thesuccessfulTransactionCountrecord component.final StringtoString()Returns a string representation of this record class.longReturns the value of thetransactionCountrecord component.
-
Constructor Details
-
HibernateStatisticsInfo
public HibernateStatisticsInfo(boolean statisticsEnabled, String startedAt, long sessionOpenCount, long sessionCloseCount, long transactionCount, long successfulTransactionCount, long connectCount, long flushCount, long prepareStatementCount, long closeStatementCount, long entityLoadCount, long entityFetchCount, long entityInsertCount, long entityUpdateCount, long entityDeleteCount, long collectionLoadCount, long collectionFetchCount, long collectionUpdateCount, long collectionRemoveCount, long collectionRecreateCount, long queryExecutionCount, long queryExecutionMaxTime, String queryExecutionMaxTimeQueryString, long queryCacheHitCount, long queryCacheMissCount, long queryCachePutCount, long secondLevelCacheHitCount, long secondLevelCacheMissCount, long secondLevelCachePutCount, long naturalIdCacheHitCount, long naturalIdCacheMissCount, long naturalIdCachePutCount, long queryPlanCacheHitCount, long queryPlanCacheMissCount, long optimisticFailureCount) Creates an instance of aHibernateStatisticsInforecord class.- Parameters:
statisticsEnabled- the value for thestatisticsEnabledrecord componentstartedAt- the value for thestartedAtrecord componentsessionOpenCount- the value for thesessionOpenCountrecord componentsessionCloseCount- the value for thesessionCloseCountrecord componenttransactionCount- the value for thetransactionCountrecord componentsuccessfulTransactionCount- the value for thesuccessfulTransactionCountrecord componentconnectCount- the value for theconnectCountrecord componentflushCount- the value for theflushCountrecord componentprepareStatementCount- the value for theprepareStatementCountrecord componentcloseStatementCount- the value for thecloseStatementCountrecord componententityLoadCount- the value for theentityLoadCountrecord componententityFetchCount- the value for theentityFetchCountrecord componententityInsertCount- the value for theentityInsertCountrecord componententityUpdateCount- the value for theentityUpdateCountrecord componententityDeleteCount- the value for theentityDeleteCountrecord componentcollectionLoadCount- the value for thecollectionLoadCountrecord componentcollectionFetchCount- the value for thecollectionFetchCountrecord componentcollectionUpdateCount- the value for thecollectionUpdateCountrecord componentcollectionRemoveCount- the value for thecollectionRemoveCountrecord componentcollectionRecreateCount- the value for thecollectionRecreateCountrecord componentqueryExecutionCount- the value for thequeryExecutionCountrecord componentqueryExecutionMaxTime- the value for thequeryExecutionMaxTimerecord componentqueryExecutionMaxTimeQueryString- the value for thequeryExecutionMaxTimeQueryStringrecord componentqueryCacheHitCount- the value for thequeryCacheHitCountrecord componentqueryCacheMissCount- the value for thequeryCacheMissCountrecord componentqueryCachePutCount- the value for thequeryCachePutCountrecord componentsecondLevelCacheHitCount- the value for thesecondLevelCacheHitCountrecord componentsecondLevelCacheMissCount- the value for thesecondLevelCacheMissCountrecord componentsecondLevelCachePutCount- the value for thesecondLevelCachePutCountrecord componentnaturalIdCacheHitCount- the value for thenaturalIdCacheHitCountrecord componentnaturalIdCacheMissCount- the value for thenaturalIdCacheMissCountrecord componentnaturalIdCachePutCount- the value for thenaturalIdCachePutCountrecord componentqueryPlanCacheHitCount- the value for thequeryPlanCacheHitCountrecord componentqueryPlanCacheMissCount- the value for thequeryPlanCacheMissCountrecord componentoptimisticFailureCount- the value for theoptimisticFailureCountrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
statisticsEnabled
public boolean statisticsEnabled()Returns the value of thestatisticsEnabledrecord component.- Returns:
- the value of the
statisticsEnabledrecord component
-
startedAt
-
sessionOpenCount
public long sessionOpenCount()Returns the value of thesessionOpenCountrecord component.- Returns:
- the value of the
sessionOpenCountrecord component
-
sessionCloseCount
public long sessionCloseCount()Returns the value of thesessionCloseCountrecord component.- Returns:
- the value of the
sessionCloseCountrecord component
-
transactionCount
public long transactionCount()Returns the value of thetransactionCountrecord component.- Returns:
- the value of the
transactionCountrecord component
-
successfulTransactionCount
public long successfulTransactionCount()Returns the value of thesuccessfulTransactionCountrecord component.- Returns:
- the value of the
successfulTransactionCountrecord component
-
connectCount
public long connectCount()Returns the value of theconnectCountrecord component.- Returns:
- the value of the
connectCountrecord component
-
flushCount
public long flushCount()Returns the value of theflushCountrecord component.- Returns:
- the value of the
flushCountrecord component
-
prepareStatementCount
public long prepareStatementCount()Returns the value of theprepareStatementCountrecord component.- Returns:
- the value of the
prepareStatementCountrecord component
-
closeStatementCount
public long closeStatementCount()Returns the value of thecloseStatementCountrecord component.- Returns:
- the value of the
closeStatementCountrecord component
-
entityLoadCount
public long entityLoadCount()Returns the value of theentityLoadCountrecord component.- Returns:
- the value of the
entityLoadCountrecord component
-
entityFetchCount
public long entityFetchCount()Returns the value of theentityFetchCountrecord component.- Returns:
- the value of the
entityFetchCountrecord component
-
entityInsertCount
public long entityInsertCount()Returns the value of theentityInsertCountrecord component.- Returns:
- the value of the
entityInsertCountrecord component
-
entityUpdateCount
public long entityUpdateCount()Returns the value of theentityUpdateCountrecord component.- Returns:
- the value of the
entityUpdateCountrecord component
-
entityDeleteCount
public long entityDeleteCount()Returns the value of theentityDeleteCountrecord component.- Returns:
- the value of the
entityDeleteCountrecord component
-
collectionLoadCount
public long collectionLoadCount()Returns the value of thecollectionLoadCountrecord component.- Returns:
- the value of the
collectionLoadCountrecord component
-
collectionFetchCount
public long collectionFetchCount()Returns the value of thecollectionFetchCountrecord component.- Returns:
- the value of the
collectionFetchCountrecord component
-
collectionUpdateCount
public long collectionUpdateCount()Returns the value of thecollectionUpdateCountrecord component.- Returns:
- the value of the
collectionUpdateCountrecord component
-
collectionRemoveCount
public long collectionRemoveCount()Returns the value of thecollectionRemoveCountrecord component.- Returns:
- the value of the
collectionRemoveCountrecord component
-
collectionRecreateCount
public long collectionRecreateCount()Returns the value of thecollectionRecreateCountrecord component.- Returns:
- the value of the
collectionRecreateCountrecord component
-
queryExecutionCount
public long queryExecutionCount()Returns the value of thequeryExecutionCountrecord component.- Returns:
- the value of the
queryExecutionCountrecord component
-
queryExecutionMaxTime
public long queryExecutionMaxTime()Returns the value of thequeryExecutionMaxTimerecord component.- Returns:
- the value of the
queryExecutionMaxTimerecord component
-
queryExecutionMaxTimeQueryString
Returns the value of thequeryExecutionMaxTimeQueryStringrecord component.- Returns:
- the value of the
queryExecutionMaxTimeQueryStringrecord component
-
queryCacheHitCount
public long queryCacheHitCount()Returns the value of thequeryCacheHitCountrecord component.- Returns:
- the value of the
queryCacheHitCountrecord component
-
queryCacheMissCount
public long queryCacheMissCount()Returns the value of thequeryCacheMissCountrecord component.- Returns:
- the value of the
queryCacheMissCountrecord component
-
queryCachePutCount
public long queryCachePutCount()Returns the value of thequeryCachePutCountrecord component.- Returns:
- the value of the
queryCachePutCountrecord component
-
secondLevelCacheHitCount
public long secondLevelCacheHitCount()Returns the value of thesecondLevelCacheHitCountrecord component.- Returns:
- the value of the
secondLevelCacheHitCountrecord component
-
secondLevelCacheMissCount
public long secondLevelCacheMissCount()Returns the value of thesecondLevelCacheMissCountrecord component.- Returns:
- the value of the
secondLevelCacheMissCountrecord component
-
secondLevelCachePutCount
public long secondLevelCachePutCount()Returns the value of thesecondLevelCachePutCountrecord component.- Returns:
- the value of the
secondLevelCachePutCountrecord component
-
naturalIdCacheHitCount
public long naturalIdCacheHitCount()Returns the value of thenaturalIdCacheHitCountrecord component.- Returns:
- the value of the
naturalIdCacheHitCountrecord component
-
naturalIdCacheMissCount
public long naturalIdCacheMissCount()Returns the value of thenaturalIdCacheMissCountrecord component.- Returns:
- the value of the
naturalIdCacheMissCountrecord component
-
naturalIdCachePutCount
public long naturalIdCachePutCount()Returns the value of thenaturalIdCachePutCountrecord component.- Returns:
- the value of the
naturalIdCachePutCountrecord component
-
queryPlanCacheHitCount
public long queryPlanCacheHitCount()Returns the value of thequeryPlanCacheHitCountrecord component.- Returns:
- the value of the
queryPlanCacheHitCountrecord component
-
queryPlanCacheMissCount
public long queryPlanCacheMissCount()Returns the value of thequeryPlanCacheMissCountrecord component.- Returns:
- the value of the
queryPlanCacheMissCountrecord component
-
optimisticFailureCount
public long optimisticFailureCount()Returns the value of theoptimisticFailureCountrecord component.- Returns:
- the value of the
optimisticFailureCountrecord component
-