org.springframework.boot.autoconfigure.cache

Interface CacheManagerCustomizer<T extends CacheManager>

  • Type Parameters:
    T - the type of the CacheManager
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.


    @FunctionalInterface
    public interface CacheManagerCustomizer<T extends CacheManager>
    Callback interface that can be implemented by beans wishing to customize the cache manager before it is fully initialized, in particular to tune its configuration.
    Since:
    1.3.3
    Author:
    Stephane Nicoll
    • Method Detail

      • customize

        void customize(T cacheManager)
        Customize the cache manager.
        Parameters:
        cacheManager - the CacheManager to customize