Java 类org.springframework.boot.autoconfigure.cache.CacheManagerCustomizer 实例源码

项目:secrets-proxy    文件:CacheConfig.java   
/**
 * Tunes the auto configured Cache manager.
 *
 * @return {@link CacheManagerCustomizer}
 */
@Bean
public CacheManagerCustomizer<CaffeineCacheManager> cacheManagerCustomizer() {
    return cacheManager -> cacheManager.setAllowNullValues(false);
}