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()
CacheOperationInvocationContextCacheOperationInvocationContext<CacheOperation> 内の getOperation public java.lang.Object getTarget()
CacheOperationInvocationContextCacheOperationInvocationContext<CacheOperation> 内の getTarget public java.lang.reflect.Method getMethod()
CacheOperationInvocationContextCacheOperationInvocationContext<CacheOperation> 内の getMethod public java.lang.Object[] getArgs()
CacheOperationInvocationContextCacheOperationInvocationContext<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()