Class CacheEntry
java.lang.Object
com.loomcache.springboot.entity.CacheEntry
JPA entity representing a cached key-value pair in the database.
This is the write-through persistence target. When a cache PUT happens, the entry is written through Spring Data JPA via this entity.
Local H2 runs in PostgreSQL compatibility mode so repository SQL matches the production PostgreSQL manifest defaults.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()voidsetCacheValue(@Nullable String cacheValue)
-
Constructor Details
-
CacheEntry
protected CacheEntry()JPA-required no-arg constructor. Initializes non-nullable fields to safe defaults. -
CacheEntry
-
-
Method Details
-
setCacheValue
-
equals
-
hashCode
-