A
- the type of the JSR-107 annotationpublic interface JCacheOperation<A extends java.lang.annotation.Annotation> extends BasicOperation, javax.cache.annotation.CacheMethodDetails<A>
A cache operation can be statically cached as it does not contain any runtime operation of a specific cache invocation.
Modifier and Type | Method and Description |
---|---|
javax.cache.annotation.CacheInvocationParameter[] |
getAllParameters(java.lang.Object... values)
Return the
CacheInvocationParameter instances based on the specified
method arguments. |
CacheResolver |
getCacheResolver()
Return the
CacheResolver instance to use to resolve the cache to
use for this operation. |
getCacheNames
CacheResolver getCacheResolver()
CacheResolver
instance to use to resolve the cache to
use for this operation.javax.cache.annotation.CacheInvocationParameter[] getAllParameters(java.lang.Object... values)
CacheInvocationParameter
instances based on the specified
method arguments.
The method arguments must match the signature of the related method invocation
values
- the parameters value for a particular invocation