Record Class HibernateCacheRegionInfo
java.lang.Object
java.lang.Record
io.micronaut.controlpanel.panels.hibernate.model.HibernateCacheRegionInfo
- Record Components:
name- region namehitCount- hit countmissCount- miss countputCount- put countelementCountInMemory- element count in memoryelementCountOnDisk- element count on disksizeInMemory- size in memory
-
Constructor Summary
ConstructorsConstructorDescriptionHibernateCacheRegionInfo(String name, long hitCount, long missCount, long putCount, String elementCountInMemory, String elementCountOnDisk, String sizeInMemory) Creates an instance of aHibernateCacheRegionInforecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theelementCountInMemoryrecord component.Returns the value of theelementCountOnDiskrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.longhitCount()Returns the value of thehitCountrecord component.longReturns the value of themissCountrecord component.name()Returns the value of thenamerecord component.longputCount()Returns the value of theputCountrecord component.Returns the value of thesizeInMemoryrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
HibernateCacheRegionInfo
public HibernateCacheRegionInfo(String name, long hitCount, long missCount, long putCount, String elementCountInMemory, String elementCountOnDisk, String sizeInMemory) Creates an instance of aHibernateCacheRegionInforecord class.- Parameters:
name- the value for thenamerecord componenthitCount- the value for thehitCountrecord componentmissCount- the value for themissCountrecord componentputCount- the value for theputCountrecord componentelementCountInMemory- the value for theelementCountInMemoryrecord componentelementCountOnDisk- the value for theelementCountOnDiskrecord componentsizeInMemory- the value for thesizeInMemoryrecord 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. -
name
-
hitCount
-
missCount
-
putCount
-
elementCountInMemory
Returns the value of theelementCountInMemoryrecord component.- Returns:
- the value of the
elementCountInMemoryrecord component
-
elementCountOnDisk
Returns the value of theelementCountOnDiskrecord component.- Returns:
- the value of the
elementCountOnDiskrecord component
-
sizeInMemory
Returns the value of thesizeInMemoryrecord component.- Returns:
- the value of the
sizeInMemoryrecord component
-