接口的使用
cn.taketoday.cache.interceptor.CacheOperationSource
使用CacheOperationSource的程序包
程序包
说明
Annotations and supporting classes for declarative cache management.
AOP-based solution for declarative caching demarcation.
-
cn.taketoday.cache.annotation中CacheOperationSource的使用
修饰符和类型类说明classImplementation of theCacheOperationSourceinterface for working with caching metadata in annotation format.修饰符和类型方法说明ProxyCachingConfiguration.cacheAdvisor(CacheOperationSource cacheOperationSource, CacheInterceptor cacheInterceptor) ProxyCachingConfiguration.cacheInterceptor(CacheOperationSource cacheOperationSource) -
cn.taketoday.cache.interceptor中CacheOperationSource的使用
修饰符和类型类说明classAbstract implementation ofCacheOperationthat caches attributes for methods and implements a fallback policy: 1. specific target method; 2. target class; 3. declaring method; 4. declaring class/interface.classCompositeCacheOperationSourceimplementation that iterates over a given array ofCacheOperationSourceinstances.classSimpleCacheOperationSourceimplementation that allows attributes to be matched by registered name.修饰符和类型方法说明CacheAspectSupport.getCacheOperationSource()Return the CacheOperationSource for this cache aspect.final CacheOperationSource[]CompositeCacheOperationSource.getCacheOperationSources()Return theCacheOperationSourceinstances that thisCompositeCacheOperationSourcecombines.修饰符和类型方法说明voidBeanFactoryCacheOperationSourceAdvisor.setCacheOperationSource(CacheOperationSource cacheOperationSource) Set the cache operation attribute source which is used to find cache attributes.voidCacheAspectSupport.setCacheOperationSource(CacheOperationSource cacheOperationSource) Set the CacheOperationSource for this cache aspect.voidCacheAspectSupport.setCacheOperationSources(CacheOperationSource... cacheOperationSources) Set one or more cache operation sources which are used to find the cache attributes.voidCacheProxyFactoryBean.setCacheOperationSources(CacheOperationSource... cacheOperationSources) Set one or more sources to find cache operations.限定符构造器说明CompositeCacheOperationSource(CacheOperationSource... cacheOperationSources) Create a new CompositeCacheOperationSource for the given sources.