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.
|
org.springframework.cache.jcache.config |
Support package for declarative JSR-107 caching configuration.
|
org.springframework.cache.jcache.interceptor |
AOP-based solution for declarative caching demarcation using JSR-107 annotations.
|
Modifier and Type | Field and Description |
---|---|
protected CacheResolver |
AbstractCachingConfiguration.cacheResolver |
Modifier and Type | Method and Description |
---|---|
CacheResolver |
CachingConfigurerSupport.cacheResolver() |
CacheResolver |
CachingConfigurer.cacheResolver()
Return the
CacheResolver bean to use to resolve regular caches for
annotation-driven cache management. |
Modifier and Type | Class and Description |
---|---|
class |
AbstractCacheResolver
A base
CacheResolver implementation that requires the concrete
implementation to provide the collection of cache name(s) based on the
invocation context. |
class |
NamedCacheResolver
A
CacheResolver that forces the resolution to a configurable
collection of name(s) against a given CacheManager . |
class |
SimpleCacheResolver
A simple
CacheResolver that resolves the Cache instance(s)
based on a configurable CacheManager and the name of the
cache(s) as provided by getCacheNames() |
Modifier and Type | Method and Description |
---|---|
CacheResolver |
CacheAspectSupport.getCacheResolver()
Return the default
CacheResolver that this cache aspect delegates to. |
Modifier and Type | Method and Description |
---|---|
protected java.util.Collection<? extends Cache> |
CacheAspectSupport.getCaches(CacheOperationInvocationContext<CacheOperation> context,
CacheResolver cacheResolver) |
void |
CacheAspectSupport.setCacheResolver(CacheResolver cacheResolver)
Set the default
CacheResolver that this cache aspect should delegate
to if no specific cache resolver has been set for the operation. |
void |
CacheProxyFactoryBean.setCacheResolver(CacheResolver cacheResolver)
Set the default
CacheResolver that this cache aspect should delegate
to if no specific cache resolver has been set for the operation. |
Constructor and Description |
---|
CacheOperationMetadata(CacheOperation operation,
java.lang.reflect.Method method,
java.lang.Class<?> targetClass,
KeyGenerator keyGenerator,
CacheResolver cacheResolver) |
Modifier and Type | Field and Description |
---|---|
protected CacheResolver |
AbstractJCacheConfiguration.exceptionCacheResolver |
Modifier and Type | Method and Description |
---|---|
CacheResolver |
JCacheConfigurer.exceptionCacheResolver()
Return the
CacheResolver bean to use to resolve exception caches for
annotation-driven cache management. |
CacheResolver |
JCacheConfigurerSupport.exceptionCacheResolver() |
Modifier and Type | Class and Description |
---|---|
class |
SimpleExceptionCacheResolver
A simple
CacheResolver that resolves the exception cache
based on a configurable CacheManager and the name of the
cache: CacheResultOperation.getExceptionCacheName() |
Modifier and Type | Method and Description |
---|---|
CacheResolver |
DefaultJCacheOperationSource.getCacheResolver()
Return the specified cache resolver to use, if any.
|
CacheResolver |
JCacheOperation.getCacheResolver()
Return the
CacheResolver instance to use to resolve the cache
to use for this operation. |
protected CacheResolver |
AnnotationJCacheOperationSource.getCacheResolver(javax.cache.annotation.CacheResolverFactory factory,
javax.cache.annotation.CacheMethodDetails<?> details) |
protected CacheResolver |
DefaultJCacheOperationSource.getDefaultCacheResolver() |
protected abstract CacheResolver |
AnnotationJCacheOperationSource.getDefaultCacheResolver()
Return the default
CacheResolver if none is set. |
protected CacheResolver |
DefaultJCacheOperationSource.getDefaultExceptionCacheResolver() |
protected abstract CacheResolver |
AnnotationJCacheOperationSource.getDefaultExceptionCacheResolver()
Return the default exception
CacheResolver if none is set. |
CacheResolver |
DefaultJCacheOperationSource.getExceptionCacheResolver()
Return the specified exception cache resolver to use, if any.
|
protected CacheResolver |
AnnotationJCacheOperationSource.getExceptionCacheResolver(javax.cache.annotation.CacheResolverFactory factory,
javax.cache.annotation.CacheMethodDetails<javax.cache.annotation.CacheResult> details) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultJCacheOperationSource.setCacheResolver(CacheResolver cacheResolver)
Set the
CacheResolver to resolve regular caches. |
void |
DefaultJCacheOperationSource.setExceptionCacheResolver(CacheResolver exceptionCacheResolver)
Set the
CacheResolver to resolve exception caches. |