Package | Description |
---|---|
javax.cache.annotation |
The annotations in this package provide method interceptors for user supplied classes.
|
Class and Description |
---|
CacheInvocationContext
Runtime information about an intercepted method invocation for a method annotated
with
CacheResult , CachePut , CacheRemoveEntry , or CacheRemoveAll
Used with CacheResolver.resolveCache(CacheInvocationContext) to determine the Cache to use
at runtime for the method invocation. |
CacheInvocationParameter
A parameter to an intercepted method invocation.
|
CacheKeyInvocationContext
Runtime information about an intercepted method invocation for a method annotated
with
CacheResult , CachePut , or CacheRemoveEntry . |
CacheMethodDetails
Static information about a method annotated with one of:
CacheResult , CachePut , CacheRemoveEntry , or CacheRemoveAll
Used with CacheResolverFactory.getCacheResolver(CacheMethodDetails) to determine the CacheResolver to use
with the method. |
CacheResolver
Determines the
Cache to use for an intercepted method invocation. |
CacheResult
When a method annotated with
CacheResult is invoked a GeneratedCacheKey will be generated and
Cache.get(Object) is called before the annotated method actually executes. |
GeneratedCacheKey
A
Serializable , immutable, thread-safe object that is used as a key,
that of which is automatically generated using a CacheKeyGenerator. |
Copyright © 2013. All Rights Reserved.