protected class CacheAspectSupport.CacheOperationContext
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.Object[] |
args |
private java.util.Collection<Cache> |
caches |
private java.lang.reflect.Method |
method |
private CacheOperation |
operation |
private java.lang.Object |
target |
private java.lang.Class<?> |
targetClass |
Constructor and Description |
---|
CacheAspectSupport.CacheOperationContext(CacheOperation operation,
java.lang.reflect.Method method,
java.lang.Object[] args,
java.lang.Object target,
java.lang.Class<?> targetClass) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canPutToCache(java.lang.Object value) |
private EvaluationContext |
createEvaluationContext(java.lang.Object result) |
protected java.lang.Object |
generateKey()
Computes the key for the given caching operation.
|
protected java.util.Collection<Cache> |
getCaches() |
protected boolean |
isConditionPassing() |
protected boolean |
isConditionPassing(java.lang.Object result) |
private final CacheOperation operation
private final java.lang.reflect.Method method
private final java.lang.Object[] args
private final java.lang.Object target
private final java.lang.Class<?> targetClass
private final java.util.Collection<Cache> caches
public CacheAspectSupport.CacheOperationContext(CacheOperation operation, java.lang.reflect.Method method, java.lang.Object[] args, java.lang.Object target, java.lang.Class<?> targetClass)
protected boolean isConditionPassing()
protected boolean isConditionPassing(java.lang.Object result)
protected boolean canPutToCache(java.lang.Object value)
protected java.lang.Object generateKey()
private EvaluationContext createEvaluationContext(java.lang.Object result)
protected java.util.Collection<Cache> getCaches()