Package javax.cache.annotation
Annotation Type CacheKey
-
@Target(PARAMETER) @Retention(RUNTIME) public @interface CacheKey
Marks a method argument as part of the cache key. If no arguments are marked all arguments are used. The exception is for a method annotated withCachePut
where theCacheValue
parameter is never included in the key- Since:
- 1.0
- See Also:
CacheResult
,CachePut
,CacheRemove
,CacheKeyInvocationContext.getKeyParameters()