| 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.interceptor |
AOP-based solution for declarative caching demarcation using JSR-107 annotations.
|
| Modifier and Type | Field and Description |
|---|---|
protected KeyGenerator |
AbstractCachingConfiguration.keyGenerator |
| Modifier and Type | Method and Description |
|---|---|
KeyGenerator |
CachingConfigurerSupport.keyGenerator() |
KeyGenerator |
CachingConfigurer.keyGenerator()
Return the key generator bean to use for annotation-driven cache management.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SimpleKeyGenerator
Simple key generator.
|
| Modifier and Type | Method and Description |
|---|---|
KeyGenerator |
CacheAspectSupport.getKeyGenerator()
Return the default
KeyGenerator that this cache aspect delegates to. |
| Modifier and Type | Method and Description |
|---|---|
void |
CacheAspectSupport.setKeyGenerator(KeyGenerator keyGenerator)
Set the default
KeyGenerator that this cache aspect should delegate to
if no specific key generator has been set for the operation. |
void |
CacheProxyFactoryBean.setKeyGenerator(KeyGenerator keyGenerator)
Set the default
KeyGenerator that this cache aspect should delegate to
if no specific key generator has been set for the operation. |
| Constructor and Description |
|---|
CacheOperationMetadata(CacheOperation operation,
Method method,
Class<?> targetClass,
KeyGenerator keyGenerator,
CacheResolver cacheResolver) |
| Modifier and Type | Method and Description |
|---|---|
protected KeyGenerator |
AnnotationJCacheOperationSource.determineKeyGenerator(javax.cache.annotation.CacheDefaults defaults,
Class<? extends javax.cache.annotation.CacheKeyGenerator> candidate) |
protected KeyGenerator |
DefaultJCacheOperationSource.getDefaultKeyGenerator() |
protected abstract KeyGenerator |
AnnotationJCacheOperationSource.getDefaultKeyGenerator()
Return the default
KeyGenerator if none is set. |
KeyGenerator |
DefaultJCacheOperationSource.getKeyGenerator()
Return the specified key generator to use.
|
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultJCacheOperationSource.setKeyGenerator(KeyGenerator keyGenerator)
Set the default
KeyGenerator. |