Uses of Class
org.springframework.cache.interceptor.CacheOperation
Packages that use CacheOperation
Package
Description
Annotations and supporting classes for declarative cache management.
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 CacheOperationModifier and TypeMethodDescriptionprotected 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) AnnotationCacheOperationSource.CacheOperationProvider.getCacheOperations(CacheAnnotationParser parser) Return theCacheOperationinstance(s) provided by the specified parser.CacheAnnotationParser.parseCacheAnnotations(Class<?> type) Parse the cache definition for the given class, based on an annotation type understood by this parser.CacheAnnotationParser.parseCacheAnnotations(Method method) Parse the cache definition for the given method, based on an annotation type understood by this parser.SpringCacheAnnotationParser.parseCacheAnnotations(Class<?> type) SpringCacheAnnotationParser.parseCacheAnnotations(Method method) -
Uses of CacheOperation in org.springframework.cache.interceptor
Subclasses of CacheOperation in org.springframework.cache.interceptorModifier and TypeClassDescriptionclassClass describing a cache 'cacheable' operation.classClass describing a cache 'evict' operation.classClass describing a cache 'put' operation.Methods in org.springframework.cache.interceptor that return CacheOperationModifier and TypeMethodDescriptionabstract CacheOperationCacheOperation.Builder.build()CacheAspectSupport.CacheOperationContext.getOperation()Methods in org.springframework.cache.interceptor that return types with arguments of type CacheOperationModifier and TypeMethodDescriptionprotected 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.AbstractFallbackCacheOperationSource.getCacheOperations(Method method, Class<?> targetClass) Determine the caching attribute for this method invocation.CacheOperationSource.getCacheOperations(Method method, Class<?> targetClass) Return the collection of cache operations for this method, ornullif the method contains no cacheable annotations.CompositeCacheOperationSource.getCacheOperations(Method method, Class<?> targetClass) NameMatchCacheOperationSource.getCacheOperations(Method method, Class<?> targetClass) Methods in org.springframework.cache.interceptor with parameters of type CacheOperationModifier and TypeMethodDescriptionCacheAspectSupport.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 CacheOperationModifier and TypeMethodDescriptionvoidNameMatchCacheOperationSource.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 CacheOperationModifierConstructorDescriptionCacheOperationMetadata(CacheOperation operation, Method method, Class<?> targetClass, KeyGenerator keyGenerator, CacheResolver cacheResolver)