Record Class CacheEntryId
java.lang.Object
java.lang.Record
io.micronaut.cache.oracle.persistence.CacheEntryId
- Record Components:
cacheName- The cache namekeyHash- The serialized key hash
-
Constructor Summary
ConstructorsConstructorDescriptionCacheEntryId(String cacheName, byte[] keyHash) Creates an instance of aCacheEntryIdrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thecacheNamerecord component.booleanIndicates whether some other object is "equal to" this one.inthashCode()Returns a hash code value for this object.byte[]keyHash()Returns the value of thekeyHashrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
CacheEntryId
-
-
Method Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
hashCode
-
toString
-
cacheName
-
keyHash
-