クラス CacheAspectSupport.CacheOperationContext
java.lang.ObjectSE
org.springframework.cache.interceptor.CacheAspectSupport.CacheOperationContext
- 実装されているすべてのインターフェース:
CacheOperationInvocationContext<CacheOperation>
- 含まれているクラス:
CacheAspectSupport
protected class CacheAspectSupport.CacheOperationContext
extends ObjectSE
implements CacheOperationInvocationContext<CacheOperation>
- 導入:
- 3.1
- 作成者:
- Costin Leau, Juergen Hoeller, Chris Beams, Phillip Webb, Sam Brannen, Stephane Nicoll, Sebastien Deleuze
コンストラクターの概要
コンストラクターコンストラクター説明CacheOperationContext(CacheAspectSupport.CacheOperationMetadata metadata, @Nullable ObjectSE[] args, ObjectSE target) メソッドのサマリー
修飾子と型メソッド説明protected booleancanPutToCache(@Nullable ObjectSE value) generateKey(@Nullable ObjectSE result) 指定されたキャッシュ操作のキーを計算します。getArgs()メソッドの呼び出しに使用される引数リストを返します。protected CollectionSE<StringSE> protected CollectionSE<? extends Cache> 生成されたキーを取得します。呼び出されたメソッドを返します。キャッシュ操作を返します。メソッドが呼び出されたターゲットインスタンスを返します。protected booleanisConditionPassing(@Nullable ObjectSE result)
コンストラクターの詳細
CacheOperationContext
public CacheOperationContext(CacheAspectSupport.CacheOperationMetadata metadata, @Nullable 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
getCaches
getCacheNames