Spring CacheManager
Let's look at the core interfaces and implementation classes that are used for configuring caching in a Spring caching framework. Spring CacheManager is actually an interface in the Spring's caching framework. The following is the list of classes that implement the CacheManager interface:
- AbstractCacheManager: This abstract class implements the- CacheManagerinterface. It is useful for static environments, where the backing caches do not change.
- CompositeCacheManager: This is the composite- CacheManagerimplementation that iterates over a given collection of- CacheManagerinstances. It allows- NoOpCacheManagerto be automatically added to the list for handling the cache declarations without a backing store.
- ConcurrentMapCacheManager: This is the- CacheManagerimplementation that lazily builds- ConcurrentMapCacheinstances for each- getCache(java.lang.String)request. It also supports a static mode where the set of cache names is predefined through- setCacheNames(java.util.Collection...
 
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
             
     
         
                 
                 
                 
                 
                 
                 
                 
                 
                