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 CacheManager interface. It is useful for static environments, where the backing caches do not change.
  • CompositeCacheManager: This is the composite CacheManager implementation that iterates over a given collection of CacheManager instances. It allows NoOpCacheManager to be automatically added to the list for handling the cache declarations without a backing store.
  • ConcurrentMapCacheManager ...

Get Mastering Spring Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.