Uses of Package
javax.cache.annotation
Packages that use javax.cache.annotation
Package
Description
The annotations in this package provide method interceptors for user supplied
classes.
-
Classes in javax.cache.annotation used by javax.cache.annotationClassDescriptionRuntime information about an intercepted method invocation for a method annotated with
CacheResult
,CachePut
,CacheRemove
, orCacheRemoveAll
A parameter to an intercepted method invocation.Runtime information about an intercepted method invocation for a method annotated withCacheResult
,CachePut
, orCacheRemove
.Static information about a method annotated with one of:CacheResult
,CachePut
,CacheRemove
, orCacheRemoveAll
Determines theCache
to use for an intercepted method invocation.When a method annotated withCacheResult
is invoked aGeneratedCacheKey
will be generated andCache.get(Object)
is called before the annotated method actually executes.ASerializable
, immutable, thread-safe object that is used as a key, automatically generated by aCacheKeyGenerator
.