cache-api 1.1.1
javax.cache.annotation
CacheKey
Top
Description
Methods
javax.cache.annotation
public
@Interface CacheKey
extends
Annotation
Annotations
@Target
:
PARAMETER
@Retention
:
RUNTIME
Imports
java.
lang.
annotation.
ElementType
,
.Retention
,
.RetentionPolicy
,
.Target
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 with
CachePut
where the
CacheValue
parameter is never included in the key
Author
Rick Hightower
Since
1.0
See Also
CacheResult
,
CachePut
,
CacheRemove
,
CacheKeyInvocationContext#getKeyParameters()
Method Summary
Inherited from
java.lang.annotation.Annotation
:
annotationType
equals
hashCode
toString