Uses of Interface
org.springframework.cache.interceptor.CacheResolver
Packages that use CacheResolver Package Description org.springframework.cache.annotation Annotations and supporting classes for declarative cache management.org.springframework.cache.interceptor AOP-based solution for declarative caching demarcation.org.springframework.cache.jcache.config Support package for declarative JSR-107 caching configuration.org.springframework.cache.jcache.interceptor AOP-based solution for declarative caching demarcation using JSR-107 annotations.Uses of CacheResolver in org.springframework.cache.annotation
Fields in org.springframework.cache.annotation with type parameters of type CacheResolver Modifier and Type Field Description protected Supplier<CacheResolver>
AbstractCachingConfiguration. cacheResolver
Methods in org.springframework.cache.annotation that return CacheResolver Modifier and Type Method Description CacheResolver
CachingConfigurer. cacheResolver()
Return theCacheResolver
bean to use to resolve regular caches for annotation-driven cache management.CacheResolver
CachingConfigurerSupport. cacheResolver()
Uses of CacheResolver in org.springframework.cache.interceptor
Classes in org.springframework.cache.interceptor that implement CacheResolver Modifier and Type Class Description class
AbstractCacheResolver
A baseCacheResolver
implementation that requires the concrete implementation to provide the collection of cache name(s) based on the invocation context.class
NamedCacheResolver
ACacheResolver
that forces the resolution to a configurable collection of name(s) against a givenCacheManager
.class
SimpleCacheResolver
A simpleCacheResolver
that resolves theCache
instance(s) based on a configurableCacheManager
and the name of the cache(s) as provided bygetCacheNames()
.Methods in org.springframework.cache.interceptor that return CacheResolver Modifier and Type Method Description CacheResolver
CacheAspectSupport. getCacheResolver()
Return the defaultCacheResolver
that this cache aspect delegates to.Methods in org.springframework.cache.interceptor with parameters of type CacheResolver Modifier and Type Method Description protected 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.Constructors in org.springframework.cache.interceptor with parameters of type CacheResolver Constructor Description CacheOperationMetadata(CacheOperation operation, Method method, Class<?> targetClass, KeyGenerator keyGenerator, CacheResolver cacheResolver)
Uses of CacheResolver in org.springframework.cache.jcache.config
Fields in org.springframework.cache.jcache.config with type parameters of type CacheResolver Modifier and Type Field Description protected Supplier<CacheResolver>
AbstractJCacheConfiguration. exceptionCacheResolver
Methods in org.springframework.cache.jcache.config that return CacheResolver Modifier and Type Method Description CacheResolver
JCacheConfigurer. exceptionCacheResolver()
Return theCacheResolver
bean to use to resolve exception caches for annotation-driven cache management.CacheResolver
JCacheConfigurerSupport. exceptionCacheResolver()
Uses of CacheResolver in org.springframework.cache.jcache.interceptor
Classes in org.springframework.cache.jcache.interceptor that implement CacheResolver Modifier and Type Class Description class
SimpleExceptionCacheResolver
A simpleCacheResolver
that resolves the exception cache based on a configurableCacheManager
and the name of the cache:CacheResultOperation.getExceptionCacheName()
.Methods in org.springframework.cache.jcache.interceptor that return CacheResolver Modifier and Type Method Description protected CacheResolver
AnnotationJCacheOperationSource. getCacheResolver(javax.cache.annotation.CacheResolverFactory factory, javax.cache.annotation.CacheMethodDetails<?> details)
CacheResolver
DefaultJCacheOperationSource. getCacheResolver()
Return the specified cache resolver to use, if any.CacheResolver
JCacheOperation. getCacheResolver()
Return theCacheResolver
instance to use to resolve the cache to use for this operation.protected abstract CacheResolver
AnnotationJCacheOperationSource. getDefaultCacheResolver()
Return the defaultCacheResolver
if none is set.protected CacheResolver
DefaultJCacheOperationSource. getDefaultCacheResolver()
protected abstract CacheResolver
AnnotationJCacheOperationSource. getDefaultExceptionCacheResolver()
Return the default exceptionCacheResolver
if none is set.protected CacheResolver
DefaultJCacheOperationSource. getDefaultExceptionCacheResolver()
protected CacheResolver
AnnotationJCacheOperationSource. getExceptionCacheResolver(javax.cache.annotation.CacheResolverFactory factory, javax.cache.annotation.CacheMethodDetails<javax.cache.annotation.CacheResult> details)
CacheResolver
DefaultJCacheOperationSource. getExceptionCacheResolver()
Return the specified exception cache resolver to use, if any.Methods in org.springframework.cache.jcache.interceptor with parameters of type CacheResolver Modifier and Type Method Description void
DefaultJCacheOperationSource. setCacheResolver(CacheResolver cacheResolver)
Set theCacheResolver
to resolve regular caches.void
DefaultJCacheOperationSource. setExceptionCacheResolver(CacheResolver exceptionCacheResolver)
Set theCacheResolver
to resolve exception caches.