Uses of Class
org.springframework.cache.interceptor.CacheOperation
Packages that use CacheOperation Package Description org.springframework.cache.annotation Annotations and supporting classes for declarative cache management.org.springframework.cache.interceptor AOP-based solution for declarative caching demarcation.Uses of CacheOperation in org.springframework.cache.annotation
Methods in org.springframework.cache.annotation that return types with arguments of type CacheOperation Modifier and Type Method Description protected Collection<CacheOperation>AnnotationCacheOperationSource. determineCacheOperations(AnnotationCacheOperationSource.CacheOperationProvider provider)Determine the cache operation(s) for the givenAnnotationCacheOperationSource.CacheOperationProvider.protected Collection<CacheOperation>AnnotationCacheOperationSource. findCacheOperations(Class<?> clazz)protected Collection<CacheOperation>AnnotationCacheOperationSource. findCacheOperations(Method method)Collection<CacheOperation>AnnotationCacheOperationSource.CacheOperationProvider. getCacheOperations(CacheAnnotationParser parser)Return theCacheOperationinstance(s) provided by the specified parser.Collection<CacheOperation>CacheAnnotationParser. parseCacheAnnotations(Class<?> type)Parse the cache definition for the given class, based on an annotation type understood by this parser.Collection<CacheOperation>CacheAnnotationParser. parseCacheAnnotations(Method method)Parse the cache definition for the given method, based on an annotation type understood by this parser.Collection<CacheOperation>SpringCacheAnnotationParser. parseCacheAnnotations(Class<?> type)Collection<CacheOperation>SpringCacheAnnotationParser. parseCacheAnnotations(Method method)Uses of CacheOperation in org.springframework.cache.interceptor
Subclasses of CacheOperation in org.springframework.cache.interceptor Modifier and Type Class Description classCacheableOperationClass describing a cache 'cacheable' operation.classCacheEvictOperationClass describing a cache 'evict' operation.classCachePutOperationClass describing a cache 'put' operation.Methods in org.springframework.cache.interceptor that return CacheOperation Modifier and Type Method Description abstract CacheOperationCacheOperation.Builder. build()CacheOperationCacheAspectSupport.CacheOperationContext. getOperation()Methods in org.springframework.cache.interceptor that return types with arguments of type CacheOperation Modifier and Type Method Description protected abstract Collection<CacheOperation>AbstractFallbackCacheOperationSource. findCacheOperations(Class<?> clazz)Subclasses need to implement this to return the caching attribute for the given class, if any.protected abstract Collection<CacheOperation>AbstractFallbackCacheOperationSource. findCacheOperations(Method method)Subclasses need to implement this to return the caching attribute for the given method, if any.Collection<CacheOperation>AbstractFallbackCacheOperationSource. getCacheOperations(Method method, Class<?> targetClass)Determine the caching attribute for this method invocation.Collection<CacheOperation>CacheOperationSource. getCacheOperations(Method method, Class<?> targetClass)Return the collection of cache operations for this method, ornullif the method contains no cacheable annotations.Collection<CacheOperation>CompositeCacheOperationSource. getCacheOperations(Method method, Class<?> targetClass)Collection<CacheOperation>NameMatchCacheOperationSource. getCacheOperations(Method method, Class<?> targetClass)Methods in org.springframework.cache.interceptor with parameters of type CacheOperation Modifier and Type Method Description protected CacheAspectSupport.CacheOperationMetadataCacheAspectSupport. getCacheOperationMetadata(CacheOperation operation, Method method, Class<?> targetClass)Return theCacheAspectSupport.CacheOperationMetadatafor the specified operation.protected CacheAspectSupport.CacheOperationContextCacheAspectSupport. getOperationContext(CacheOperation operation, Method method, Object[] args, Object target, Class<?> targetClass)Method parameters in org.springframework.cache.interceptor with type arguments of type CacheOperation Modifier and Type Method Description voidNameMatchCacheOperationSource. addCacheMethod(String methodName, Collection<CacheOperation> ops)Add an attribute for a cacheable method.protected Collection<? extends Cache>CacheAspectSupport. getCaches(CacheOperationInvocationContext<CacheOperation> context, CacheResolver cacheResolver)voidNameMatchCacheOperationSource. setNameMap(Map<String,Collection<CacheOperation>> nameMap)Set a name/attribute map, consisting of method names (e.g.Constructors in org.springframework.cache.interceptor with parameters of type CacheOperation Constructor Description CacheOperationMetadata(CacheOperation operation, Method method, Class<?> targetClass, KeyGenerator keyGenerator, CacheResolver cacheResolver)