クラス CacheAspectSupport.CacheOperationContext
java.lang.ObjectSE
org.springframework.cache.interceptor.CacheAspectSupport.CacheOperationContext
- 実装されたすべてのインターフェース:
CacheOperationInvocationContext<CacheOperation>
- 含まれているクラス:
- CacheAspectSupport
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>
protected CollectionSE<? extends Cache>
protected ObjectSE
生成されたキーを取得します。呼び出されたメソッドを返します。キャッシュ操作を返します。メソッドが呼び出されたターゲットインスタンスを返します。protected boolean
isConditionPassing
(ObjectSE result)
コンストラクターの詳細
CacheOperationContext
public CacheOperationContext(CacheAspectSupport.CacheOperationMetadata metadata, ObjectSE[] args, ObjectSE target)
メソッドの詳細
getOperation
インターフェースからコピーされた説明:CacheOperationInvocationContext
キャッシュ操作を返します。- 次で指定:
- インターフェース
CacheOperationInvocationContext<CacheOperation>
のgetOperation
getTarget
インターフェースからコピーされた説明:CacheOperationInvocationContext
メソッドが呼び出されたターゲットインスタンスを返します。- 次で指定:
- インターフェース
CacheOperationInvocationContext<CacheOperation>
のgetTarget
getMethod
インターフェースからコピーされた説明:CacheOperationInvocationContext
呼び出されたメソッドを返します。- 次で指定:
- インターフェース
CacheOperationInvocationContext<CacheOperation>
のgetMethod
getArgs
インターフェースからコピーされた説明:CacheOperationInvocationContext
メソッドの呼び出しに使用される引数リストを返します。- 次で指定:
- インターフェース
CacheOperationInvocationContext<CacheOperation>
のgetArgs
isConditionPassing
canPutToCache
generateKey
指定されたキャッシュ操作のキーを計算します。getGeneratedKey
生成されたキーを取得します。- 戻り値:
- 生成されたキー
- 導入:
- 6.1.2
getCaches
getCacheNames