| 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 | Field and Description | 
|---|---|
| protected Supplier<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  | SimpleKeyGeneratorSimple key generator. | 
| Modifier and Type | Method and Description | 
|---|---|
| KeyGenerator | CacheAspectSupport. getKeyGenerator()Return the default  KeyGeneratorthat this cache aspect delegates to. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | CacheAspectSupport. setKeyGenerator(KeyGenerator keyGenerator)Set the default  KeyGeneratorthat 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  KeyGeneratorthat this cache aspect should delegate to
 if no specific key generator has been set for the operation. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | CacheAspectSupport. configure(Supplier<CacheErrorHandler> errorHandler,
         Supplier<KeyGenerator> keyGenerator,
         Supplier<CacheResolver> cacheResolver,
         Supplier<CacheManager> cacheManager)Configure this aspect with the given error handler, key generator and cache resolver/manager
 suppliers, applying the corresponding default if a supplier is not resolvable. | 
| Constructor and Description | 
|---|
| CacheOperationMetadata(CacheOperation operation,
                      Method method,
                      Class<?> targetClass,
                      KeyGenerator keyGenerator,
                      CacheResolver cacheResolver) |