クラス 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 booleancanPutToCache(ObjectSE value) protected ObjectSEgenerateKey(ObjectSE result) 指定されたキャッシュ操作のキーを計算します。ObjectSE[]getArgs()メソッドの呼び出しに使用される引数リストを返します。protected CollectionSE<StringSE>protected CollectionSE<? extends Cache>protected ObjectSE生成されたキーを取得します。呼び出されたメソッドを返します。キャッシュ操作を返します。メソッドが呼び出されたターゲットインスタンスを返します。protected booleanisConditionPassing(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