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 | Class and Description |
---|---|
class |
AnnotationCacheOperationSource
Implementation of the
CacheOperationSource interface for working with caching metadata in annotation format. |
Modifier and Type | Method and Description |
---|---|
CacheOperationSource |
ProxyCachingConfiguration.cacheOperationSource() |
Modifier and Type | Method and Description |
---|---|
BeanFactoryCacheOperationSourceAdvisor |
ProxyCachingConfiguration.cacheAdvisor(CacheOperationSource cacheOperationSource,
CacheInterceptor cacheInterceptor) |
CacheInterceptor |
ProxyCachingConfiguration.cacheInterceptor(CacheOperationSource cacheOperationSource) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractFallbackCacheOperationSource
Abstract implementation of
CacheOperation that caches attributes
for methods and implements a fallback policy: 1. |
class |
CompositeCacheOperationSource
Composite
CacheOperationSource implementation that iterates
over a given array of CacheOperationSource instances. |
class |
NameMatchCacheOperationSource
Simple
CacheOperationSource implementation that allows attributes to be matched
by registered name. |
Modifier and Type | Method and Description |
---|---|
CacheOperationSource |
CacheAspectSupport.getCacheOperationSource()
Return the CacheOperationSource for this cache aspect.
|
CacheOperationSource[] |
CompositeCacheOperationSource.getCacheOperationSources()
Return the
CacheOperationSource instances that this
CompositeCacheOperationSource combines. |
Modifier and Type | Method and Description |
---|---|
void |
BeanFactoryCacheOperationSourceAdvisor.setCacheOperationSource(CacheOperationSource cacheOperationSource)
Set the cache operation attribute source which is used to find cache
attributes.
|
void |
CacheAspectSupport.setCacheOperationSource(CacheOperationSource cacheOperationSource)
Set the CacheOperationSource for this cache aspect.
|
void |
CacheProxyFactoryBean.setCacheOperationSources(CacheOperationSource... cacheOperationSources)
Set one or more sources to find cache operations.
|
void |
CacheAspectSupport.setCacheOperationSources(CacheOperationSource... cacheOperationSources)
Set one or more cache operation sources which are used to find the cache
attributes.
|
Constructor and Description |
---|
CompositeCacheOperationSource(CacheOperationSource... cacheOperationSources)
Create a new CompositeCacheOperationSource for the given sources.
|