Record Class HibernateCollectionStatisticsInfo

java.lang.Object
java.lang.Record
io.micronaut.controlpanel.panels.hibernate.model.HibernateCollectionStatisticsInfo
Record Components:
loadCount - collection load count
fetchCount - collection fetch count
updateCount - collection update count
removeCount - collection remove count
recreateCount - collection recreate count
cacheRegionName - cache region name
cacheHitCount - cache hit count
cacheMissCount - cache miss count
cachePutCount - cache put count

public record HibernateCollectionStatisticsInfo(long loadCount, long fetchCount, long updateCount, long removeCount, long recreateCount, String cacheRegionName, long cacheHitCount, long cacheMissCount, long cachePutCount) extends Record
Hibernate collection role statistics.
  • Constructor Details

    • HibernateCollectionStatisticsInfo

      public HibernateCollectionStatisticsInfo(long loadCount, long fetchCount, long updateCount, long removeCount, long recreateCount, String cacheRegionName, long cacheHitCount, long cacheMissCount, long cachePutCount)
      Creates an instance of a HibernateCollectionStatisticsInfo record class.
      Parameters:
      loadCount - the value for the loadCount record component
      fetchCount - the value for the fetchCount record component
      updateCount - the value for the updateCount record component
      removeCount - the value for the removeCount record component
      recreateCount - the value for the recreateCount 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
    • updateCount

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

      public long removeCount()
      Returns the value of the removeCount record component.
      Returns:
      the value of the removeCount record component
    • recreateCount

      public long recreateCount()
      Returns the value of the recreateCount record component.
      Returns:
      the value of the recreateCount 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