Record Class HibernateEntityStatisticsInfo

java.lang.Object
java.lang.Record
io.micronaut.controlpanel.panels.hibernate.model.HibernateEntityStatisticsInfo
Record Components:
loadCount - entity load count
fetchCount - entity fetch count
insertCount - entity insert count
updateCount - entity update count
deleteCount - entity delete count
optimisticFailureCount - optimistic failure count
cacheRegionName - cache region name
cacheHitCount - cache hit count
cacheMissCount - cache miss count
cachePutCount - cache put count

public record HibernateEntityStatisticsInfo(long loadCount, long fetchCount, long insertCount, long updateCount, long deleteCount, long optimisticFailureCount, String cacheRegionName, long cacheHitCount, long cacheMissCount, long cachePutCount) extends Record
Hibernate entity statistics.
  • 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 a HibernateEntityStatisticsInfo record class.
      Parameters:
      loadCount - the value for the loadCount record component
      fetchCount - the value for the fetchCount record component
      insertCount - the value for the insertCount record component
      updateCount - the value for the updateCount record component
      deleteCount - the value for the deleteCount record component
      optimisticFailureCount - the value for the optimisticFailureCount record component
      cacheRegionName - the value for the cacheRegionName record component
      cacheHitCount - the value for the cacheHitCount record component
      cacheMissCount - the value for the cacheMissCount record component
      cachePutCount - the value for the cachePutCount record component
  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • loadCount

      public long loadCount()
      Returns the value of the loadCount record component.
      Returns:
      the value of the loadCount record component
    • fetchCount

      public long fetchCount()
      Returns the value of the fetchCount record component.
      Returns:
      the value of the fetchCount record component
    • insertCount

      public long insertCount()
      Returns the value of the insertCount record component.
      Returns:
      the value of the insertCount record component
    • updateCount

      public long updateCount()
      Returns the value of the updateCount record component.
      Returns:
      the value of the updateCount record component
    • deleteCount

      public long deleteCount()
      Returns the value of the deleteCount record component.
      Returns:
      the value of the deleteCount record component
    • optimisticFailureCount

      public long optimisticFailureCount()
      Returns the value of the optimisticFailureCount record component.
      Returns:
      the value of the optimisticFailureCount record component
    • cacheRegionName

      public String cacheRegionName()
      Returns the value of the cacheRegionName record component.
      Returns:
      the value of the cacheRegionName record component
    • cacheHitCount

      public long cacheHitCount()
      Returns the value of the cacheHitCount record component.
      Returns:
      the value of the cacheHitCount record component
    • cacheMissCount

      public long cacheMissCount()
      Returns the value of the cacheMissCount record component.
      Returns:
      the value of the cacheMissCount record component
    • cachePutCount

      public long cachePutCount()
      Returns the value of the cachePutCount record component.
      Returns:
      the value of the cachePutCount record component