接口的使用
org.springframework.cache.interceptor.CacheOperationInvoker
使用CacheOperationInvoker的程序包 程序包 说明 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.org.springframework.cache.interceptor中CacheOperationInvoker的使用
参数类型为CacheOperationInvoker的org.springframework.cache.interceptor中的方法 修饰符和类型 方法 说明 protected Object
CacheAspectSupport. execute(CacheOperationInvoker invoker, Object target, Method method, Object[] args)
protected Object
CacheAspectSupport. invokeOperation(CacheOperationInvoker invoker)
Execute the underlying operation (typically in case of cache miss) and return the result of the invocation.org.springframework.cache.jcache.interceptor中CacheOperationInvoker的使用
参数类型为CacheOperationInvoker的org.springframework.cache.jcache.interceptor中的方法 修饰符和类型 方法 说明 protected Object
JCacheAspectSupport. execute(CacheOperationInvoker invoker, Object target, Method method, Object[] args)
protected Object
JCacheAspectSupport. invokeOperation(CacheOperationInvoker invoker)
Execute the underlying operation (typically in case of cache miss) and return the result of the invocation.