spring-framework / org.springframework.cache.interceptor / CacheAspectSupport / setCacheResolver

setCacheResolver

open fun setCacheResolver(@Nullable cacheResolver: CacheResolver): Unit

Set the default CacheResolver that this cache aspect should delegate to if no specific cache resolver has been set for the operation.

The default resolver resolves the caches against their names and the default cache manager.

See Also
#setCacheManager(org.springframework.cache.CacheManager)SimpleCacheResolver