Uses of Interface
org.springframework.cache.interceptor.CacheResolver
Packages that use CacheResolver
Package
Description
Annotations and supporting classes for declarative cache management.
AOP-based solution for declarative caching demarcation.
Support package for declarative JSR-107 caching configuration.
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 CacheResolverModifier and TypeFieldDescriptionprotected Supplier<CacheResolver>
AbstractCachingConfiguration.cacheResolver
Methods in org.springframework.cache.annotation that return CacheResolverModifier 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
Classes in org.springframework.cache.interceptor that implement CacheResolverModifier 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()
.Methods in org.springframework.cache.interceptor that return CacheResolverModifier and TypeMethodDescriptionCacheAspectSupport.getCacheResolver()
Return the defaultCacheResolver
that this cache aspect delegates to.Methods in org.springframework.cache.interceptor with parameters of type CacheResolverModifier 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.Constructors in org.springframework.cache.interceptor with parameters of type CacheResolverModifierConstructorDescriptionCacheOperationMetadata
(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 CacheResolverModifier and TypeFieldDescriptionprotected Supplier<CacheResolver>
AbstractJCacheConfiguration.exceptionCacheResolver
Methods in org.springframework.cache.jcache.config that return CacheResolverModifier and TypeMethodDescriptiondefault CacheResolver
JCacheConfigurer.exceptionCacheResolver()
Return theCacheResolver
bean to use to resolve exception caches for annotation-driven cache management.JCacheConfigurerSupport.exceptionCacheResolver()
Deprecated. -
Uses of CacheResolver in org.springframework.cache.jcache.interceptor
Classes in org.springframework.cache.jcache.interceptor that implement CacheResolverModifier and TypeClassDescriptionclass
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 CacheResolverModifier and TypeMethodDescriptionprotected CacheResolver
AnnotationJCacheOperationSource.getCacheResolver
(javax.cache.annotation.CacheResolverFactory factory, javax.cache.annotation.CacheMethodDetails<?> details) DefaultJCacheOperationSource.getCacheResolver()
Return the specified cache resolver to use, if any.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) DefaultJCacheOperationSource.getExceptionCacheResolver()
Return the specified exception cache resolver to use, if any.Methods in org.springframework.cache.jcache.interceptor with parameters of type CacheResolverModifier and TypeMethodDescriptionvoid
DefaultJCacheOperationSource.setCacheResolver
(CacheResolver cacheResolver) Set theCacheResolver
to resolve regular caches.void
DefaultJCacheOperationSource.setExceptionCacheResolver
(CacheResolver exceptionCacheResolver) Set theCacheResolver
to resolve exception caches.