Package javax.cache.annotation
Annotation Type CacheKey
-
@Target(PARAMETER) @Retention(RUNTIME) public @interface CacheKeyMarks 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 withCachePutwhere theCacheValueparameter is never included in the key- Since:
- 1.0
- See Also:
CacheResult,CachePut,CacheRemove,CacheKeyInvocationContext.getKeyParameters()