Package io.quarkus.cache
Annotation Type CacheKey
-
@Retention(RUNTIME) @Target(PARAMETER) public @interface CacheKey
When a method argument is annotated withCacheKey
, it is identified as a part of a cache key during an invocation of a method annotated withCacheResult
orCacheInvalidate
.This annotation is optional and should only be used when some of the method arguments are NOT part of the cache key.