Uses of Interface
org.springframework.cache.interceptor.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
Modifier and TypeFieldDescriptionprotected Supplier<KeyGenerator>
AbstractCachingConfiguration.keyGenerator
Modifier 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
Modifier and TypeMethodDescriptionCacheAspectSupport.getKeyGenerator()
Return the defaultKeyGenerator
that this cache aspect delegates to.Modifier 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.ModifierConstructorDescriptionCacheOperationMetadata
(CacheOperation operation, Method method, Class<?> targetClass, KeyGenerator keyGenerator, CacheResolver cacheResolver) -
Uses of KeyGenerator in org.springframework.cache.jcache.interceptor
Modifier 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.Modifier and TypeMethodDescriptionvoid
DefaultJCacheOperationSource.setKeyGenerator
(KeyGenerator keyGenerator) Set the defaultKeyGenerator
.