接口的使用
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中的方法 修饰符和类型 方法 说明 JCacheOperationSource
AbstractJCacheConfiguration. cacheOperationSource()
org.springframework.cache.jcache.interceptor中JCacheOperationSource的使用
实现JCacheOperationSource的org.springframework.cache.jcache.interceptor中的类 修饰符和类型 类 说明 class
AbstractFallbackJCacheOperationSource
Abstract implementation ofJCacheOperationSource
that caches attributes for methods and implements a fallback policy: 1. specific target method; 2. declaring method.class
AnnotationJCacheOperationSource
Implementation of theJCacheOperationSource
interface that reads the JSR-107CacheResult
,CachePut
,CacheRemove
andCacheRemoveAll
annotations.class
DefaultJCacheOperationSource
The defaultJCacheOperationSource
implementation delegating default operations to configurable services with sensible defaults when not present.返回JCacheOperationSource的org.springframework.cache.jcache.interceptor中的方法 修饰符和类型 方法 说明 JCacheOperationSource
JCacheAspectSupport. getCacheOperationSource()
Return the CacheOperationSource for this cache aspect.protected abstract JCacheOperationSource
JCacheOperationSourcePointcut. getCacheOperationSource()
Obtain the underlyingJCacheOperationSource
(may benull
).参数类型为JCacheOperationSource的org.springframework.cache.jcache.interceptor中的方法 修饰符和类型 方法 说明 void
BeanFactoryJCacheOperationSourceAdvisor. setCacheOperationSource(JCacheOperationSource cacheOperationSource)
Set the cache operation attribute source which is used to find cache attributes.void
JCacheAspectSupport. setCacheOperationSource(JCacheOperationSource cacheOperationSource)
Set the CacheOperationSource for this cache aspect.