Interface JCacheOperation<A extends Annotation>
- Type Parameters:
 A- the type of the JSR-107 annotation
- All Superinterfaces:
 BasicOperation,javax.cache.annotation.CacheMethodDetails<A>
public interface JCacheOperation<A extends Annotation>
extends BasicOperation, javax.cache.annotation.CacheMethodDetails<A>
Model the base of JSR-107 cache operation through an interface contract.
 
A cache operation can be statically cached as it does not contain any runtime operation of a specific cache invocation.
- Since:
 - 4.1
 - Author:
 - Stephane Nicoll
 
- 
Method Summary
Modifier and TypeMethodDescriptionjavax.cache.annotation.CacheInvocationParameter[]getAllParameters(Object... values) Return theCacheInvocationParameterinstances based on the specified method arguments.Return theCacheResolverinstance to use to resolve the cache to use for this operation.Methods inherited from interface org.springframework.cache.interceptor.BasicOperation
getCacheNamesMethods inherited from interface javax.cache.annotation.CacheMethodDetails
getAnnotations, getCacheAnnotation, getCacheName, getMethod 
- 
Method Details
- 
getCacheResolver
CacheResolver getCacheResolver()Return theCacheResolverinstance to use to resolve the cache to use for this operation. - 
getAllParameters
Return theCacheInvocationParameterinstances based on the specified method arguments.The method arguments must match the signature of the related method invocation
- Parameters:
 values- the parameters value for a particular invocation
 
 -