| Package | Description | 
|---|---|
| org.springframework.cache.annotation | Annotations and supporting classes for declarative cache management. | 
| org.springframework.cache.caffeine | Support classes for the open source cache in
 Caffeine library,
 allowing to set up Caffeine caches within Spring's cache abstraction. | 
| org.springframework.cache.concurrent | Implementation package for  java.util.concurrentbased caches. | 
| org.springframework.cache.ehcache | Support classes for the open source cache
 EhCache 2.x,
 allowing to set up an EhCache CacheManager and Caches
 as beans in a Spring context. | 
| org.springframework.cache.interceptor | AOP-based solution for declarative caching demarcation. | 
| org.springframework.cache.jcache | Implementation package for JSR-107 (javax.cache aka "JCache") based caches. | 
| org.springframework.cache.jcache.interceptor | AOP-based solution for declarative caching demarcation using JSR-107 annotations. | 
| org.springframework.cache.support | Support classes for the org.springframework.cache package. | 
| org.springframework.cache.transaction | Transaction-aware decorators for the org.springframework.cache package. | 
| org.springframework.web.reactive.resource | Support classes for serving static resources. | 
| org.springframework.web.servlet.resource | Support classes for serving static resources. | 
| Modifier and Type | Field and Description | 
|---|---|
| protected Supplier<CacheManager> | AbstractCachingConfiguration. cacheManager | 
| Modifier and Type | Method and Description | 
|---|---|
| CacheManager | CachingConfigurer. cacheManager()Return the cache manager bean to use for annotation-driven cache
 management. | 
| CacheManager | CachingConfigurerSupport. cacheManager() | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | CaffeineCacheManagerCacheManagerimplementation that lazily buildsCaffeineCacheinstances for eachCaffeineCacheManager.getCache(java.lang.String)request. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | ConcurrentMapCacheManagerCacheManagerimplementation that lazily buildsConcurrentMapCacheinstances for eachConcurrentMapCacheManager.getCache(java.lang.String)request. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | EhCacheCacheManagerCacheManager backed by an EhCache  CacheManager. | 
| Modifier and Type | Method and Description | 
|---|---|
| CacheManager | AbstractCacheResolver. getCacheManager()Return the  CacheManagerthat this instance uses. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | AbstractCacheResolver. setCacheManager(CacheManager cacheManager)Set the  CacheManagerthat this instance should use. | 
| void | CacheAspectSupport. setCacheManager(CacheManager cacheManager)Set the  CacheManagerto use to create a defaultCacheResolver. | 
| void | CacheProxyFactoryBean. setCacheManager(CacheManager cacheManager)Set the  CacheManagerto use to create a defaultCacheResolver. | 
| 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 | 
|---|
| AbstractCacheResolver(CacheManager cacheManager)Construct a new  AbstractCacheResolverfor the givenCacheManager. | 
| NamedCacheResolver(CacheManager cacheManager,
                  String... cacheNames) | 
| SimpleCacheResolver(CacheManager cacheManager)Construct a new  SimpleCacheResolverfor the givenCacheManager. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | JCacheCacheManagerCacheManagerimplementation
 backed by a JCachejavax.cache.CacheManager. | 
| Modifier and Type | Method and Description | 
|---|---|
| CacheManager | DefaultJCacheOperationSource. getCacheManager()Return the specified cache manager to use, if any. | 
| protected CacheManager | DefaultJCacheOperationSource. getDefaultCacheManager() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | DefaultJCacheOperationSource. setCacheManager(CacheManager cacheManager)Set the default  CacheManagerto use to lookup cache by name. | 
| Constructor and Description | 
|---|
| SimpleExceptionCacheResolver(CacheManager cacheManager) | 
| Constructor and Description | 
|---|
| DefaultJCacheOperationSource(Supplier<CacheManager> cacheManager,
                            Supplier<CacheResolver> cacheResolver,
                            Supplier<CacheResolver> exceptionCacheResolver,
                            Supplier<KeyGenerator> keyGenerator)Construct a new  DefaultJCacheOperationSourcewith the given cache manager,
 cache resolver and key generator suppliers, applying the corresponding default
 if a supplier is not resolvable. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractCacheManagerAbstract base class implementing the common  CacheManagermethods. | 
| class  | CompositeCacheManagerComposite  CacheManagerimplementation that iterates over
 a given collection of delegateCacheManagerinstances. | 
| class  | NoOpCacheManagerA basic, no operation  CacheManagerimplementation suitable
 for disabling caching, typically used for backing cache declarations
 without an actual backing store. | 
| class  | SimpleCacheManagerSimple cache manager working against a given collection of caches. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | CompositeCacheManager. setCacheManagers(Collection<CacheManager> cacheManagers)Specify the CacheManagers to delegate to. | 
| Constructor and Description | 
|---|
| CompositeCacheManager(CacheManager... cacheManagers)Construct a CompositeCacheManager from the given delegate CacheManagers. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | AbstractTransactionSupportingCacheManagerBase class for CacheManager implementations that want to support built-in
 awareness of Spring-managed transactions. | 
| class  | TransactionAwareCacheManagerProxyProxy for a target  CacheManager, exposing transaction-awareCacheobjects
 which synchronize theirCache.put(java.lang.Object, java.lang.Object)operations with Spring-managed transactions
 (through Spring'sTransactionSynchronizationManager,
 performing the actual cache put operation only in the after-commit phase of a successful transaction. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | TransactionAwareCacheManagerProxy. setTargetCacheManager(CacheManager targetCacheManager)Set the target CacheManager to proxy. | 
| Constructor and Description | 
|---|
| TransactionAwareCacheManagerProxy(CacheManager targetCacheManager)Create a new TransactionAwareCacheManagerProxy for the given target CacheManager. | 
| Constructor and Description | 
|---|
| CachingResourceResolver(CacheManager cacheManager,
                       String cacheName) | 
| CachingResourceTransformer(CacheManager cacheManager,
                          String cacheName) | 
| Constructor and Description | 
|---|
| CachingResourceResolver(CacheManager cacheManager,
                       String cacheName) | 
| CachingResourceTransformer(CacheManager cacheManager,
                          String cacheName) |