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. cacheResolverMethods in org.springframework.cache.annotation that return CacheResolver Modifier and Type Method Description CacheResolverCachingConfigurer. cacheResolver()Return theCacheResolverbean to use to resolve regular caches for annotation-driven cache management.CacheResolverCachingConfigurerSupport. cacheResolver()Uses of CacheResolver in org.springframework.cache.interceptor
Classes in org.springframework.cache.interceptor that implement CacheResolver Modifier and Type Class Description classAbstractCacheResolverA baseCacheResolverimplementation that requires the concrete implementation to provide the collection of cache name(s) based on the invocation context.classNamedCacheResolverACacheResolverthat forces the resolution to a configurable collection of name(s) against a givenCacheManager.classSimpleCacheResolverA simpleCacheResolverthat resolves theCacheinstance(s) based on a configurableCacheManagerand the name of the cache(s) as provided bygetCacheNames().Methods in org.springframework.cache.interceptor that return CacheResolver Modifier and Type Method Description CacheResolverCacheAspectSupport. getCacheResolver()Return the defaultCacheResolverthat 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)voidCacheAspectSupport. setCacheResolver(CacheResolver cacheResolver)Set the defaultCacheResolverthat this cache aspect should delegate to if no specific cache resolver has been set for the operation.voidCacheProxyFactoryBean. setCacheResolver(CacheResolver cacheResolver)Set the defaultCacheResolverthat 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. exceptionCacheResolverMethods in org.springframework.cache.jcache.config that return CacheResolver Modifier and Type Method Description CacheResolverJCacheConfigurer. exceptionCacheResolver()Return theCacheResolverbean to use to resolve exception caches for annotation-driven cache management.CacheResolverJCacheConfigurerSupport. 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 classSimpleExceptionCacheResolverA simpleCacheResolverthat resolves the exception cache based on a configurableCacheManagerand the name of the cache:CacheResultOperation.getExceptionCacheName().Methods in org.springframework.cache.jcache.interceptor that return CacheResolver Modifier and Type Method Description protected CacheResolverAnnotationJCacheOperationSource. getCacheResolver(javax.cache.annotation.CacheResolverFactory factory, javax.cache.annotation.CacheMethodDetails<?> details)CacheResolverDefaultJCacheOperationSource. getCacheResolver()Return the specified cache resolver to use, if any.CacheResolverJCacheOperation. getCacheResolver()Return theCacheResolverinstance to use to resolve the cache to use for this operation.protected abstract CacheResolverAnnotationJCacheOperationSource. getDefaultCacheResolver()Return the defaultCacheResolverif none is set.protected CacheResolverDefaultJCacheOperationSource. getDefaultCacheResolver()protected abstract CacheResolverAnnotationJCacheOperationSource. getDefaultExceptionCacheResolver()Return the default exceptionCacheResolverif none is set.protected CacheResolverDefaultJCacheOperationSource. getDefaultExceptionCacheResolver()protected CacheResolverAnnotationJCacheOperationSource. getExceptionCacheResolver(javax.cache.annotation.CacheResolverFactory factory, javax.cache.annotation.CacheMethodDetails<javax.cache.annotation.CacheResult> details)CacheResolverDefaultJCacheOperationSource. 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 voidDefaultJCacheOperationSource. setCacheResolver(CacheResolver cacheResolver)Set theCacheResolverto resolve regular caches.voidDefaultJCacheOperationSource. setExceptionCacheResolver(CacheResolver exceptionCacheResolver)Set theCacheResolverto resolve exception caches.