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.
|
Modifier and Type | Method and Description |
---|---|
protected Collection<CacheOperation> |
AnnotationCacheOperationSource.determineCacheOperations(AnnotatedElement ae)
Determine the cache operation(s) for the given method or class.
|
protected Collection<CacheOperation> |
AnnotationCacheOperationSource.findCacheOperations(Class<?> clazz) |
protected Collection<CacheOperation> |
AnnotationCacheOperationSource.findCacheOperations(Method method) |
Collection<CacheOperation> |
CacheAnnotationParser.parseCacheAnnotations(AnnotatedElement ae)
Parses the cache definition for the given method or class,
based on a known annotation type.
|
Collection<CacheOperation> |
SpringCacheAnnotationParser.parseCacheAnnotations(AnnotatedElement ae) |
Modifier and Type | Class and Description |
---|---|
class |
CacheableOperation
Class describing a cache 'cacheable' operation.
|
class |
CacheEvictOperation
Class describing a cache 'evict' operation.
|
class |
CachePutOperation
Class describing a cache 'put' operation.
|
Modifier and Type | Method and 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> |
CompositeCacheOperationSource.getCacheOperations(Method method,
Class<?> targetClass) |
Collection<CacheOperation> |
CacheOperationSource.getCacheOperations(Method method,
Class<?> targetClass)
Return the collection of cache operations for this method, or
null
if the method contains no cacheable annotations. |
Collection<CacheOperation> |
AbstractFallbackCacheOperationSource.getCacheOperations(Method method,
Class<?> targetClass)
Determine the caching attribute for this method invocation.
|
Collection<CacheOperation> |
NameMatchCacheOperationSource.getCacheOperations(Method method,
Class<?> targetClass) |
Modifier and Type | Method and Description |
---|---|
protected Collection<Cache> |
CacheAspectSupport.getCaches(CacheOperation operation) |
protected CacheAspectSupport.CacheOperationContext |
CacheAspectSupport.getOperationContext(CacheOperation operation,
Method method,
Object[] args,
Object target,
Class<?> targetClass) |
Modifier and Type | Method and Description |
---|---|
void |
NameMatchCacheOperationSource.addCacheMethod(String methodName,
Collection<CacheOperation> ops)
Add an attribute for a cacheable method.
|
void |
NameMatchCacheOperationSource.setNameMap(Map<String,Collection<CacheOperation>> nameMap)
Set a name/attribute map, consisting of method names
(e.g.
|
Constructor and Description |
---|
CacheOperationContext(CacheOperation operation,
Method method,
Object[] args,
Object target,
Class<?> targetClass) |
Copyright © 2015. All rights reserved.