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.
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
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) -
Uses of CacheResolver in org.springframework.cache.jcache.config
Modifier and TypeFieldDescriptionprotected Supplier<CacheResolver>
AbstractJCacheConfiguration.exceptionCacheResolver
Modifier 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
Modifier and TypeClassDescriptionclass
A simpleCacheResolver
that resolves the exception cache based on a configurableCacheManager
and the name of the cache:CacheResultOperation.getExceptionCacheName()
.Modifier 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.Modifier and TypeMethodDescriptionvoid
DefaultJCacheOperationSource.setCacheResolver
(CacheResolver cacheResolver) Set theCacheResolver
to resolve regular caches.void
DefaultJCacheOperationSource.setExceptionCacheResolver
(CacheResolver exceptionCacheResolver) Set theCacheResolver
to resolve exception caches.