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<@Nullable CacheResolver> AbstractCachingConfiguration.cacheResolverMethods in org.springframework.cache.annotation that return CacheResolverModifier and TypeMethodDescriptiondefault @Nullable CacheResolverCachingConfigurer.cacheResolver()Return theCacheResolverbean 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 TypeClassDescriptionclassA baseCacheResolverimplementation that requires the concrete implementation to provide the collection of cache name(s) based on the invocation context.classACacheResolverthat forces the resolution to a configurable collection of name(s) against a givenCacheManager.classA 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 CacheResolverModifier and TypeMethodDescriptionCacheAspectSupport.getCacheResolver()Return the defaultCacheResolverthat 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) voidCacheAspectSupport.setCacheResolver(@Nullable 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 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<@Nullable CacheResolver> AbstractJCacheConfiguration.exceptionCacheResolverMethods in org.springframework.cache.jcache.config that return CacheResolverModifier and TypeMethodDescriptiondefault @Nullable CacheResolverJCacheConfigurer.exceptionCacheResolver()Return theCacheResolverbean 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 TypeClassDescriptionclassA 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 CacheResolverModifier and TypeMethodDescriptionprotected CacheResolverAnnotationJCacheOperationSource.getCacheResolver(@Nullable javax.cache.annotation.CacheResolverFactory factory, javax.cache.annotation.CacheMethodDetails<?> details) DefaultJCacheOperationSource.getCacheResolver()Return the specified cache resolver to use, if any.JCacheOperation.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(@Nullable 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 TypeMethodDescriptionvoidDefaultJCacheOperationSource.setCacheResolver(@Nullable CacheResolver cacheResolver) Set theCacheResolverto resolve regular caches.voidDefaultJCacheOperationSource.setExceptionCacheResolver(@Nullable CacheResolver exceptionCacheResolver) Set theCacheResolverto resolve exception caches.