Uses of Class
org.springframework.cache.interceptor.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
Modifier 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 theCacheOperation
instance(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
Modifier and TypeClassDescriptionclass
Class describing a cache 'cacheable' operation.class
Class describing a cache 'evict' operation.class
Class describing a cache 'put' operation.Modifier and TypeMethodDescriptionabstract CacheOperation
CacheOperation.Builder.build()
CacheAspectSupport.CacheOperationContext.getOperation()
Modifier and TypeMethodDescriptionprotected abstract Collection<CacheOperation>
AbstractFallbackCacheOperationSource.findCacheOperations
(Class<?> clazz) Subclasses need to implement this to return the cache operations for the given class, if any.protected abstract Collection<CacheOperation>
AbstractFallbackCacheOperationSource.findCacheOperations
(Method method) Subclasses need to implement this to return the cache operations for the given method, if any.AbstractFallbackCacheOperationSource.getCacheOperations
(Method method, Class<?> targetClass) CacheOperationSource.getCacheOperations
(Method method, Class<?> targetClass) Return the collection of cache operations for this method, ornull
if the method contains no cacheable annotations.CompositeCacheOperationSource.getCacheOperations
(Method method, Class<?> targetClass) NameMatchCacheOperationSource.getCacheOperations
(Method method, Class<?> targetClass) Modifier and TypeMethodDescriptionCacheAspectSupport.getCacheOperationMetadata
(CacheOperation operation, Method method, Class<?> targetClass) Return theCacheAspectSupport.CacheOperationMetadata
for the specified operation.protected CacheAspectSupport.CacheOperationContext
CacheAspectSupport.getOperationContext
(CacheOperation operation, Method method, Object[] args, Object target, Class<?> targetClass) Modifier and TypeMethodDescriptionvoid
NameMatchCacheOperationSource.addCacheMethod
(String methodName, Collection<CacheOperation> ops) Add an attribute for a cacheable method.protected Collection<? extends Cache>
CacheAspectSupport.getCaches
(CacheOperationInvocationContext<CacheOperation> context, CacheResolver cacheResolver) void
NameMatchCacheOperationSource.setNameMap
(Map<String, Collection<CacheOperation>> nameMap) Set a name/attribute map, consisting of method names (e.g.ModifierConstructorDescriptionCacheOperationMetadata
(CacheOperation operation, Method method, Class<?> targetClass, KeyGenerator keyGenerator, CacheResolver cacheResolver)