类 CacheAspectSupport.CacheOperationContext
java.lang.Object
cn.taketoday.cache.interceptor.CacheAspectSupport.CacheOperationContext
- 所有已实现的接口:
CacheOperationInvocationContext<CacheOperation>
- 封闭类:
- CacheAspectSupport
protected class CacheAspectSupport.CacheOperationContext
extends Object
implements CacheOperationInvocationContext<CacheOperation>
A
CacheOperationInvocationContext context for a CacheOperation.-
字段概要
字段 -
构造器概要
构造器构造器说明CacheOperationContext(CacheAspectSupport.CacheOperationMetadata metadata, Object[] args, Object target) -
方法概要
修饰符和类型方法说明protected booleancanPutToCache(Object value) protected ObjectgenerateKey(Object result) Compute the key for the given caching operation.Object[]getArgs()Return the argument list used to invoke the method.protected Collection<String>protected Collection<? extends Cache>Return the method which was invoked.Return the cache operation.Return the target instance on which the method was invoked.protected booleanisConditionPassing(Object result)
-
字段详细资料
-
metadata
-
args
-
target
-
caches
-
cacheNames
-
conditionPassing
-
-
构造器详细资料
-
CacheOperationContext
public CacheOperationContext(CacheAspectSupport.CacheOperationMetadata metadata, Object[] args, Object target)
-
-
方法详细资料
-
getOperation
从接口复制的说明:CacheOperationInvocationContextReturn the cache operation. -
getTarget
从接口复制的说明:CacheOperationInvocationContextReturn the target instance on which the method was invoked. -
getMethod
从接口复制的说明:CacheOperationInvocationContextReturn the method which was invoked. -
getArgs
从接口复制的说明:CacheOperationInvocationContextReturn the argument list used to invoke the method.- 指定者:
getArgs在接口中CacheOperationInvocationContext<CacheOperation>
-
isConditionPassing
-
canPutToCache
-
generateKey
Compute the key for the given caching operation. -
getCaches
-
getCacheNames
-