| 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<CacheResolver> | AbstractCachingConfiguration. cacheResolver | 
| Modifier and Type | Method and Description | 
|---|---|
| CacheResolver | CachingConfigurerSupport. cacheResolver() | 
| CacheResolver | CachingConfigurer. cacheResolver()Return the  CacheResolverbean to use to resolve regular caches for
 annotation-driven cache management. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractCacheResolverA base  CacheResolverimplementation that requires the concrete
 implementation to provide the collection of cache name(s) based on the
 invocation context. | 
| class  | NamedCacheResolverA  CacheResolverthat forces the resolution to a configurable
 collection of name(s) against a givenCacheManager. | 
| class  | SimpleCacheResolverA simple  CacheResolverthat resolves theCacheinstance(s)
 based on a configurableCacheManagerand the name of the
 cache(s) as provided bygetCacheNames(). | 
| Modifier and Type | Method and Description | 
|---|---|
| CacheResolver | CacheAspectSupport. getCacheResolver()Return the default  CacheResolverthat this cache aspect delegates to. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Collection<? extends Cache> | CacheAspectSupport. getCaches(CacheOperationInvocationContext<CacheOperation> context,
         CacheResolver cacheResolver) | 
| void | CacheAspectSupport. setCacheResolver(CacheResolver cacheResolver)Set the default  CacheResolverthat 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  CacheResolverthat this cache aspect should delegate
 to if no specific cache resolver 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) |