接口的使用
org.springframework.cache.jcache.interceptor.JCacheOperationSource
使用JCacheOperationSource的程序包 程序包 说明 org.springframework.cache.jcache.config Support package for declarative JSR-107 caching configuration.org.springframework.cache.jcache.interceptor AOP-based solution for declarative caching demarcation using JSR-107 annotations.org.springframework.cache.jcache.config中JCacheOperationSource的使用
返回JCacheOperationSource的org.springframework.cache.jcache.config中的方法 修饰符和类型 方法 说明 JCacheOperationSourceAbstractJCacheConfiguration. cacheOperationSource()org.springframework.cache.jcache.interceptor中JCacheOperationSource的使用
实现JCacheOperationSource的org.springframework.cache.jcache.interceptor中的类 修饰符和类型 类 说明 classAbstractFallbackJCacheOperationSourceAbstract implementation ofJCacheOperationSourcethat caches attributes for methods and implements a fallback policy: 1. specific target method; 2. declaring method.classAnnotationJCacheOperationSourceImplementation of theJCacheOperationSourceinterface that reads the JSR-107CacheResult,CachePut,CacheRemoveandCacheRemoveAllannotations.classDefaultJCacheOperationSourceThe defaultJCacheOperationSourceimplementation delegating default operations to configurable services with sensible defaults when not present.返回JCacheOperationSource的org.springframework.cache.jcache.interceptor中的方法 修饰符和类型 方法 说明 JCacheOperationSourceJCacheAspectSupport. getCacheOperationSource()Return the CacheOperationSource for this cache aspect.protected abstract JCacheOperationSourceJCacheOperationSourcePointcut. getCacheOperationSource()Obtain the underlyingJCacheOperationSource(may benull).参数类型为JCacheOperationSource的org.springframework.cache.jcache.interceptor中的方法 修饰符和类型 方法 说明 voidBeanFactoryJCacheOperationSourceAdvisor. setCacheOperationSource(JCacheOperationSource cacheOperationSource)Set the cache operation attribute source which is used to find cache attributes.voidJCacheAspectSupport. setCacheOperationSource(JCacheOperationSource cacheOperationSource)Set the CacheOperationSource for this cache aspect.