spring-framework / org.springframework.cache.interceptor / NamedCacheResolver

NamedCacheResolver

open class NamedCacheResolver : AbstractCacheResolver

A CacheResolver that forces the resolution to a configurable collection of name(s) against a given CacheManager.

Author
Stephane Nicoll

Since
4.1

Constructors

<init>

NamedCacheResolver()
NamedCacheResolver(cacheManager: CacheManager, vararg cacheNames: String)

Functions

setCacheNames

open fun setCacheNames(cacheNames: MutableCollection<String>): Unit

Set the cache name(s) that this resolver should use.