Class CacheManagerCustomizers

java.lang.Object
org.springframework.boot.autoconfigure.cache.CacheManagerCustomizers

public class CacheManagerCustomizers extends Object
Invokes the available CacheManagerCustomizer instances in the context for a given CacheManager.
Since:
1.5.0
  • Constructor Details

  • Method Details

    • customize

      public <T extends org.springframework.cache.CacheManager> T customize(T cacheManager)
      Customize the specified CacheManager. Locates all CacheManagerCustomizer beans able to handle the specified instance and invoke CacheManagerCustomizer.customize(CacheManager) on them.
      Type Parameters:
      T - the type of cache manager
      Parameters:
      cacheManager - the cache manager to customize
      Returns:
      the cache manager