Uses of Interface
org.springframework.cache.interceptor.CacheResolver
Package
Description
Annotations and supporting classes for declarative cache management.
AOP-based solution for declarative caching demarcation.
-
Uses of CacheResolver in org.springframework.cache.annotation
Modifier and TypeFieldDescriptionprotected Supplier<CacheResolver>
AbstractCachingConfiguration.cacheResolver
Modifier and TypeMethodDescriptiondefault CacheResolver
CachingConfigurer.cacheResolver()
Return theCacheResolver
bean to use to resolve regular caches for annotation-driven cache management.CachingConfigurerSupport.cacheResolver()
Deprecated. -
Uses of CacheResolver in org.springframework.cache.interceptor
Modifier and TypeClassDescriptionclass
A baseCacheResolver
implementation that requires the concrete implementation to provide the collection of cache name(s) based on the invocation context.class
ACacheResolver
that forces the resolution to a configurable collection of name(s) against a givenCacheManager
.class
A simpleCacheResolver
that resolves theCache
instance(s) based on a configurableCacheManager
and the name of the cache(s) as provided bygetCacheNames()
.Modifier and TypeMethodDescriptionCacheAspectSupport.getCacheResolver()
Return the defaultCacheResolver
that this cache aspect delegates to.Modifier and TypeMethodDescriptionprotected Collection<? extends Cache>
CacheAspectSupport.getCaches
(CacheOperationInvocationContext<CacheOperation> context, CacheResolver cacheResolver) void
CacheAspectSupport.setCacheResolver
(CacheResolver cacheResolver) Set the defaultCacheResolver
that this cache aspect should delegate to if no specific cache resolver has been set for the operation.void
CacheProxyFactoryBean.setCacheResolver
(CacheResolver cacheResolver) Set the defaultCacheResolver
that this cache aspect should delegate to if no specific cache resolver has been set for the operation.ModifierConstructorDescriptionCacheOperationMetadata
(CacheOperation operation, Method method, Class<?> targetClass, KeyGenerator keyGenerator, CacheResolver cacheResolver)