Package io.quarkus.cache.runtime
Annotation Interface CacheKeyParameterPositions
@InterceptorBinding
@Retention(RUNTIME)
@Target({TYPE,METHOD})
public @interface CacheKeyParameterPositions
This interceptor binding is added at build time on a method if:
- it is annotated with
CacheResult
orCacheInvalidate
- at least one of its arguments is annotated with
CacheKey
CacheKey
-annotated arguments instead of relying on reflection at run time (which is bad for performances) to identify these
positions.-
Optional Element Summary
-
Element Details
-
value
short[] value- Default:
- {}
-