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