CacheResult

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class CacheResult(val ttlSeconds: Int = 60, val maxSize: Long = 1000)

Enables Caffeine-backed findById caching.

Properties

Link copied to clipboard
val maxSize: Long = 1000
Link copied to clipboard
val ttlSeconds: Int = 60