spring-framework / org.springframework.cache.support / CompositeCacheManager / setFallbackToNoOpCache

setFallbackToNoOpCache

open fun setFallbackToNoOpCache(fallbackToNoOpCache: Boolean): Unit

Indicate whether a NoOpCacheManager should be added at the end of the delegate list. In this case, any getCache requests not handled by the configured CacheManagers will be automatically handled by the NoOpCacheManager (and hence never return null).