パッケージ | 説明 |
---|---|
org.springframework.cache.annotation | 宣言的なキャッシュ管理のためのアノテーションとサポートクラス。 |
org.springframework.cache.interceptor | 宣言的キャッシング境界設定のための AOP ベースのソリューション。 |
修飾子と型 | クラスと説明 |
---|---|
class | CacheableOperation キャッシュの「キャッシュ可能な」操作を記述するクラス。 |
class | CacheEvictOperation キャッシュの「削除」操作を記述するクラス。 |
class | CachePutOperation キャッシュの "put" 操作を説明するクラス。 |
修飾子と型 | メソッドと説明 |
---|---|
abstract CacheOperation | CacheOperation.Builder.build() |
CacheOperation | CacheAspectSupport.CacheOperationContext.getOperation() |
修飾子と型 | メソッドと説明 |
---|---|
protected abstract CollectionSE<CacheOperation> | AbstractFallbackCacheOperationSource.findCacheOperations(ClassSE<?> clazz) サブクラスは、指定されたクラスのキャッシング属性があれば、それを返すためにこれを実装する必要があります。 |
protected abstract CollectionSE<CacheOperation> | AbstractFallbackCacheOperationSource.findCacheOperations(MethodSE method) サブクラスは、これを実装して、指定されたメソッドのキャッシュ属性を返す必要があります(存在する場合)。 |
CollectionSE<CacheOperation> | CacheOperationSource.getCacheOperations(MethodSE method, ClassSE<?> targetClass) このメソッドのキャッシュ操作のコレクションを返します。メソッドにキャッシュ可能なアノテーションが含まれていない場合は null を返します。 |
CollectionSE<CacheOperation> | CompositeCacheOperationSource.getCacheOperations(MethodSE method, ClassSE<?> targetClass) |
CollectionSE<CacheOperation> | NameMatchCacheOperationSource.getCacheOperations(MethodSE method, ClassSE<?> targetClass) |
CollectionSE<CacheOperation> | AbstractFallbackCacheOperationSource.getCacheOperations(MethodSE method, ClassSE<?> targetClass) このメソッド呼び出しのキャッシュ属性を決定します。 |
修飾子と型 | メソッドと説明 |
---|---|
protected CacheAspectSupport.CacheOperationMetadata | 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) |