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 theCacheManagerinterface. It is useful for static environments, where the backing caches do not change.CompositeCacheManager: This is the compositeCacheManagerimplementation that iterates over a given collection ofCacheManagerinstances. It allowsNoOpCacheManagerto be automatically added to the list for handling the cache declarations without a backing store.ConcurrentMapCacheManager: This is theCacheManagerimplementation that lazily buildsConcurrentMapCacheinstances for eachgetCache(java.lang.String)request. It also supports a static mode where the set of cache names is predefined throughsetCacheNames(java.util.Collection...