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