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. keyGeneratorMethods in org.springframework.cache.annotation that return KeyGenerator Modifier and Type Method Description KeyGeneratorCachingConfigurer. keyGenerator()Return the key generator bean to use for annotation-driven cache management.KeyGeneratorCachingConfigurerSupport. keyGenerator()Uses of KeyGenerator in org.springframework.cache.interceptor
Classes in org.springframework.cache.interceptor that implement KeyGenerator Modifier and Type Class Description classSimpleKeyGeneratorSimple key generator.Methods in org.springframework.cache.interceptor that return KeyGenerator Modifier and Type Method Description KeyGeneratorCacheAspectSupport. getKeyGenerator()Return the defaultKeyGeneratorthat this cache aspect delegates to.Methods in org.springframework.cache.interceptor with parameters of type KeyGenerator Modifier and Type Method Description voidCacheAspectSupport. setKeyGenerator(KeyGenerator keyGenerator)Set the defaultKeyGeneratorthat this cache aspect should delegate to if no specific key generator has been set for the operation.voidCacheProxyFactoryBean. setKeyGenerator(KeyGenerator keyGenerator)Set the defaultKeyGeneratorthat 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 KeyGeneratorAnnotationJCacheOperationSource. determineKeyGenerator(javax.cache.annotation.CacheDefaults defaults, Class<? extends javax.cache.annotation.CacheKeyGenerator> candidate)protected abstract KeyGeneratorAnnotationJCacheOperationSource. getDefaultKeyGenerator()Return the defaultKeyGeneratorif none is set.protected KeyGeneratorDefaultJCacheOperationSource. getDefaultKeyGenerator()KeyGeneratorDefaultJCacheOperationSource. 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 voidDefaultJCacheOperationSource. setKeyGenerator(KeyGenerator keyGenerator)Set the defaultKeyGenerator.