javax.cache.annotation
Annotation Type CacheKeyParam


@Target(value=PARAMETER)
@Retention(value=RUNTIME)
public @interface CacheKeyParam

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

Since:
1.0
Author:
Rick Hightower
See Also:
CacheResult, CachePut, CacheRemoveEntry, CacheKeyInvocationContext.getKeyParameters()



Copyright © 2013. All Rights Reserved.