Uses of Interface
org.springframework.cache.interceptor.KeyGenerator
Packages that use KeyGenerator 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.interceptor 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 KeyGenerator Modifier and Type Field Description protected Supplier<KeyGenerator>
AbstractCachingConfiguration. keyGenerator
Methods in org.springframework.cache.annotation that return KeyGenerator Modifier and Type Method Description KeyGenerator
CachingConfigurer. keyGenerator()
Return the key generator bean to use for annotation-driven cache management.KeyGenerator
CachingConfigurerSupport. keyGenerator()
Uses of KeyGenerator in org.springframework.cache.interceptor
Classes in org.springframework.cache.interceptor that implement KeyGenerator Modifier and Type Class Description class
SimpleKeyGenerator
Simple key generator.Methods in org.springframework.cache.interceptor that return KeyGenerator Modifier and Type Method Description KeyGenerator
CacheAspectSupport. getKeyGenerator()
Return the defaultKeyGenerator
that this cache aspect delegates to.Methods in org.springframework.cache.interceptor with parameters of type KeyGenerator Modifier and Type Method Description void
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 KeyGenerator Constructor Description CacheOperationMetadata(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 KeyGenerator Modifier and Type Method Description protected 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()
KeyGenerator
DefaultJCacheOperationSource. getKeyGenerator()
Return the specified key generator to use.Methods in org.springframework.cache.jcache.interceptor with parameters of type KeyGenerator Modifier and Type Method Description void
DefaultJCacheOperationSource. setKeyGenerator(KeyGenerator keyGenerator)
Set the defaultKeyGenerator
.