接口的使用
cn.taketoday.cache.interceptor.KeyGenerator
使用KeyGenerator的程序包
程序包
说明
Annotations and supporting classes for declarative cache management.
AOP-based solution for declarative caching demarcation.
-
cn.taketoday.cache.annotation中KeyGenerator的使用
类型参数类型为KeyGenerator的cn.taketoday.cache.annotation中的字段修饰符和类型方法说明default KeyGeneratorCachingConfigurer.keyGenerator()Return the key generator bean to use for annotation-driven cache management. -
cn.taketoday.cache.interceptor中KeyGenerator的使用
修饰符和类型方法说明CacheAspectSupport.getKeyGenerator()Return the defaultKeyGeneratorthat this cache aspect delegates to.修饰符和类型方法说明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.参数类型为KeyGenerator的cn.taketoday.cache.interceptor中的构造器限定符构造器说明CacheOperationMetadata(CacheOperation operation, Method method, Class<?> targetClass, KeyGenerator keyGenerator, CacheResolver cacheResolver)