クラスの使用
org.springframework.cache.interceptor.CacheOperation
パッケージ
説明
宣言的なキャッシュ管理のためのアノテーションとサポートクラス。
宣言的キャッシング境界設定のための AOP ベースのソリューション。
org.springframework.cache.annotation 内の CacheOperation 使用
修飾子と型メソッド説明protected CollectionSE<CacheOperation>
AnnotationCacheOperationSource.determineCacheOperations
(AnnotationCacheOperationSource.CacheOperationProvider provider) 指定されたAnnotationCacheOperationSource.CacheOperationProvider
のキャッシュ操作を決定します。protected CollectionSE<CacheOperation>
AnnotationCacheOperationSource.findCacheOperations
(ClassSE<?> clazz) protected CollectionSE<CacheOperation>
AnnotationCacheOperationSource.findCacheOperations
(MethodSE method) AnnotationCacheOperationSource.CacheOperationProvider.getCacheOperations
(CacheAnnotationParser parser) 指定されたパーサーによって提供されるCacheOperation
インスタンスを返します。CacheAnnotationParser.parseCacheAnnotations
(ClassSE<?> type) このパーサーが理解できるアノテーション型に基づいて、指定されたクラスのキャッシュ定義を解析します。CacheAnnotationParser.parseCacheAnnotations
(MethodSE method) このパーサーが理解するアノテーション型に基づいて、指定されたメソッドのキャッシュ定義を解析します。SpringCacheAnnotationParser.parseCacheAnnotations
(ClassSE<?> type) SpringCacheAnnotationParser.parseCacheAnnotations
(MethodSE method) org.springframework.cache.interceptor 内の CacheOperation 使用
修飾子と型クラス説明class
キャッシュの「キャッシュ可能な」操作を記述するクラス。class
キャッシュの「削除」操作を記述するクラス。class
キャッシュの "put" 操作を説明するクラス。修飾子と型メソッド説明abstract CacheOperation
CacheOperation.Builder.build()
CacheAspectSupport.CacheOperationContext.getOperation()
修飾子と型メソッド説明protected abstract CollectionSE<CacheOperation>
AbstractFallbackCacheOperationSource.findCacheOperations
(ClassSE<?> clazz) サブクラスは、指定されたクラスのキャッシュ操作 (存在する場合) を返すためにこれを実装する必要があります。protected abstract CollectionSE<CacheOperation>
AbstractFallbackCacheOperationSource.findCacheOperations
(MethodSE method) サブクラスは、指定されたメソッドのキャッシュ操作 (存在する場合) を返すためにこれを実装する必要があります。AbstractFallbackCacheOperationSource.getCacheOperations
(MethodSE method, ClassSE<?> targetClass) このメソッド呼び出しのキャッシュ操作を決定します。CacheOperationSource.getCacheOperations
(MethodSE method, ClassSE<?> targetClass) このメソッドのキャッシュ操作のコレクションを返します。メソッドにキャッシュ可能なアノテーションが含まれていない場合はnull
を返します。CompositeCacheOperationSource.getCacheOperations
(MethodSE method, ClassSE<?> targetClass) NameMatchCacheOperationSource.getCacheOperations
(MethodSE method, ClassSE<?> targetClass) 修飾子と型メソッド説明CacheAspectSupport.getCacheOperationMetadata
(CacheOperation operation, MethodSE method, ClassSE<?> targetClass) 指定された操作のCacheAspectSupport.CacheOperationMetadata
を返します。protected CacheAspectSupport.CacheOperationContext
CacheAspectSupport.getOperationContext
(CacheOperation operation, MethodSE method, ObjectSE[] args, ObjectSE target, ClassSE<?> targetClass) 修飾子と型メソッド説明void
NameMatchCacheOperationSource.addCacheMethod
(StringSE methodName, CollectionSE<CacheOperation> ops) キャッシュ可能なメソッドの属性を追加します。protected CollectionSE<? extends Cache>
CacheAspectSupport.getCaches
(CacheOperationInvocationContext<CacheOperation> context, CacheResolver cacheResolver) void
NameMatchCacheOperationSource.setNameMap
(MapSE<StringSE, CollectionSE<CacheOperation>> nameMap) メソッド名で構成される名前 / 属性マップを設定します(例:修飾子コンストラクター説明CacheOperationMetadata
(CacheOperation operation, MethodSE method, ClassSE<?> targetClass, KeyGenerator keyGenerator, CacheResolver cacheResolver)