Record Class HibernateEntityStatisticsInfo
java.lang.Object
java.lang.Record
io.micronaut.controlpanel.panels.hibernate.model.HibernateEntityStatisticsInfo
- Record Components:
loadCount- entity load countfetchCount- entity fetch countinsertCount- entity insert countupdateCount- entity update countdeleteCount- entity delete countoptimisticFailureCount- optimistic failure countcacheRegionName- cache region namecacheHitCount- cache hit countcacheMissCount- cache miss countcachePutCount- cache put count
-
Constructor Summary
ConstructorsConstructorDescriptionHibernateEntityStatisticsInfo(long loadCount, long fetchCount, long insertCount, long updateCount, long deleteCount, long optimisticFailureCount, String cacheRegionName, long cacheHitCount, long cacheMissCount, long cachePutCount) Creates an instance of aHibernateEntityStatisticsInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionlongReturns the value of thecacheHitCountrecord component.longReturns the value of thecacheMissCountrecord component.longReturns the value of thecachePutCountrecord component.Returns the value of thecacheRegionNamerecord component.longReturns the value of thedeleteCountrecord component.final booleanIndicates whether some other object is "equal to" this one.longReturns the value of thefetchCountrecord component.final inthashCode()Returns a hash code value for this object.longReturns the value of theinsertCountrecord component.longReturns the value of theloadCountrecord component.longReturns the value of theoptimisticFailureCountrecord component.final StringtoString()Returns a string representation of this record class.longReturns the value of theupdateCountrecord component.
-
Constructor Details
-
HibernateEntityStatisticsInfo
public HibernateEntityStatisticsInfo(long loadCount, long fetchCount, long insertCount, long updateCount, long deleteCount, long optimisticFailureCount, String cacheRegionName, long cacheHitCount, long cacheMissCount, long cachePutCount) Creates an instance of aHibernateEntityStatisticsInforecord class.- Parameters:
loadCount- the value for theloadCountrecord componentfetchCount- the value for thefetchCountrecord componentinsertCount- the value for theinsertCountrecord componentupdateCount- the value for theupdateCountrecord componentdeleteCount- the value for thedeleteCountrecord componentoptimisticFailureCount- the value for theoptimisticFailureCountrecord componentcacheRegionName- the value for thecacheRegionNamerecord componentcacheHitCount- the value for thecacheHitCountrecord componentcacheMissCount- the value for thecacheMissCountrecord componentcachePutCount- the value for thecachePutCountrecord 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. -
loadCount
-
fetchCount
public long fetchCount()Returns the value of thefetchCountrecord component.- Returns:
- the value of the
fetchCountrecord component
-
insertCount
public long insertCount()Returns the value of theinsertCountrecord component.- Returns:
- the value of the
insertCountrecord component
-
updateCount
public long updateCount()Returns the value of theupdateCountrecord component.- Returns:
- the value of the
updateCountrecord component
-
deleteCount
public long deleteCount()Returns the value of thedeleteCountrecord component.- Returns:
- the value of the
deleteCountrecord component
-
optimisticFailureCount
public long optimisticFailureCount()Returns the value of theoptimisticFailureCountrecord component.- Returns:
- the value of the
optimisticFailureCountrecord component
-
cacheRegionName
Returns the value of thecacheRegionNamerecord component.- Returns:
- the value of the
cacheRegionNamerecord component
-
cacheHitCount
public long cacheHitCount()Returns the value of thecacheHitCountrecord component.- Returns:
- the value of the
cacheHitCountrecord component
-
cacheMissCount
public long cacheMissCount()Returns the value of thecacheMissCountrecord component.- Returns:
- the value of the
cacheMissCountrecord component
-
cachePutCount
public long cachePutCount()Returns the value of thecachePutCountrecord component.- Returns:
- the value of the
cachePutCountrecord component
-