protected class CacheAspectSupport.CacheOperationContext extends java.lang.Object implements CacheOperationInvocationContext<CacheOperation>
コンストラクターと説明 |
---|
CacheOperationContext(CacheAspectSupport.CacheOperationMetadata metadata, java.lang.Object[] args, java.lang.Object target) |
修飾子と型 | メソッドと説明 |
---|---|
protected boolean | canPutToCache(java.lang.Object value) |
protected java.lang.Object | generateKey(java.lang.Object result) 指定されたキャッシュ操作のキーを計算します。 |
java.lang.Object[] | getArgs() メソッドの呼び出しに使用される引数リストを返します。 |
protected java.util.Collection<java.lang.String> | getCacheNames() |
protected java.util.Collection<? extends Cache> | getCaches() |
java.lang.reflect.Method | getMethod() 呼び出されたメソッドを返します。 |
CacheOperation | getOperation() キャッシュ操作を返します。 |
java.lang.Object | getTarget() メソッドが呼び出されたターゲットインスタンスを返します。 |
protected boolean | isConditionPassing(java.lang.Object result) |
public CacheOperationContext(CacheAspectSupport.CacheOperationMetadata metadata, java.lang.Object[] args, java.lang.Object target)
public CacheOperation getOperation()
CacheOperationInvocationContext
CacheOperationInvocationContext<CacheOperation>
の getOperation
public java.lang.Object getTarget()
CacheOperationInvocationContext
CacheOperationInvocationContext<CacheOperation>
の getTarget
public java.lang.reflect.Method getMethod()
CacheOperationInvocationContext
CacheOperationInvocationContext<CacheOperation>
の getMethod
public java.lang.Object[] getArgs()
CacheOperationInvocationContext
CacheOperationInvocationContext<CacheOperation>
の getArgs
protected boolean isConditionPassing(@Nullable java.lang.Object result)
protected boolean canPutToCache(@Nullable java.lang.Object value)
@Nullable protected java.lang.Object generateKey(@Nullable java.lang.Object result)
protected java.util.Collection<? extends Cache> getCaches()
protected java.util.Collection<java.lang.String> getCacheNames()