Uses of Interface
org.springframework.cache.interceptor.KeyGenerator
Packages that use KeyGenerator
Package
Description
Annotations and supporting classes for declarative cache management.
AOP-based solution for declarative caching demarcation.
AOP-based solution for declarative caching demarcation using JSR-107 annotations.
-
Uses of KeyGenerator in org.springframework.cache.annotation
Fields in org.springframework.cache.annotation with type parameters of type KeyGeneratorModifier and TypeFieldDescriptionprotected Supplier<KeyGenerator>
AbstractCachingConfiguration.keyGenerator
Methods in org.springframework.cache.annotation that return KeyGeneratorModifier and TypeMethodDescriptiondefault KeyGenerator
CachingConfigurer.keyGenerator()
Return the key generator bean to use for annotation-driven cache management.CachingConfigurerSupport.keyGenerator()
Deprecated. -
Uses of KeyGenerator in org.springframework.cache.interceptor
Classes in org.springframework.cache.interceptor that implement KeyGeneratorMethods in org.springframework.cache.interceptor that return KeyGeneratorModifier and TypeMethodDescriptionCacheAspectSupport.getKeyGenerator()
Return the defaultKeyGenerator
that this cache aspect delegates to.Methods in org.springframework.cache.interceptor with parameters of type KeyGeneratorModifier and TypeMethodDescriptionvoid
CacheAspectSupport.setKeyGenerator
(KeyGenerator keyGenerator) Set the defaultKeyGenerator
that this cache aspect should delegate to if no specific key generator has been set for the operation.void
CacheProxyFactoryBean.setKeyGenerator
(KeyGenerator keyGenerator) Set the defaultKeyGenerator
that this cache aspect should delegate to if no specific key generator has been set for the operation.Constructors in org.springframework.cache.interceptor with parameters of type KeyGeneratorModifierConstructorDescriptionCacheOperationMetadata
(CacheOperation operation, Method method, Class<?> targetClass, KeyGenerator keyGenerator, CacheResolver cacheResolver) -
Uses of KeyGenerator in org.springframework.cache.jcache.interceptor
Methods in org.springframework.cache.jcache.interceptor that return KeyGeneratorModifier and TypeMethodDescriptionprotected KeyGenerator
AnnotationJCacheOperationSource.determineKeyGenerator
(javax.cache.annotation.CacheDefaults defaults, Class<? extends javax.cache.annotation.CacheKeyGenerator> candidate) protected abstract KeyGenerator
AnnotationJCacheOperationSource.getDefaultKeyGenerator()
Return the defaultKeyGenerator
if none is set.protected KeyGenerator
DefaultJCacheOperationSource.getDefaultKeyGenerator()
DefaultJCacheOperationSource.getKeyGenerator()
Return the specified key generator to use.Methods in org.springframework.cache.jcache.interceptor with parameters of type KeyGeneratorModifier and TypeMethodDescriptionvoid
DefaultJCacheOperationSource.setKeyGenerator
(KeyGenerator keyGenerator) Set the defaultKeyGenerator
.