public interface CacheOperationSource
CacheInterceptor
が使用するインターフェース。実装は、構成から、ソースレベルのメタデータ属性から、他の場所から、キャッシュ操作属性をソースする方法を知っています。修飾子と型 | メソッドと説明 |
---|---|
java.util.Collection<CacheOperation> | getCacheOperations(java.lang.reflect.Method method, java.lang.Class<?> targetClass) このメソッドのキャッシュ操作のコレクションを返します。メソッドにキャッシュ可能なアノテーションが含まれていない場合は null を返します。 |
@Nullable java.util.Collection<CacheOperation> getCacheOperations(java.lang.reflect.Method method, @Nullable java.lang.Class<?> targetClass)
null
を返します。method
- イントロスペクトする方法 targetClass
- ターゲットクラス (null
の場合があります。この場合、メソッドの宣言クラスを使用する必要があります)null