List of usage examples for org.springframework.boot.autoconfigure.cache CacheManagerCustomizer customize
void customize(T cacheManager);
From source file:org.springframework.boot.autoconfigure.cache.CacheManagerCustomizers.java
@SuppressWarnings({ "unchecked", "rawtypes" })
private void customize(CacheManager cacheManager, CacheManagerCustomizer customizer) {
try {/*www . j a va 2s . c om*/
customizer.customize(cacheManager);
} catch (ClassCastException ex) {
// Possibly a lambda-defined customizer which we could not resolve the generic
// cache manager type for
if (logger.isDebugEnabled()) {
logger.debug("Non-matching cache manager type for customizer: " + customizer, ex);
}
}
}