パッケージ | 説明 |
---|---|
org.springframework.cache | Spring の汎用キャッシュ抽象化。 |
org.springframework.cache.caffeine | Caffeine ライブラリのオープンソースキャッシュのクラスをサポートし、Spring のキャッシュ抽象化内で Caffeine キャッシュをセットアップできます。 |
org.springframework.cache.concurrent | java.util.concurrent ベースのキャッシュの実装パッケージ。 |
org.springframework.cache.ehcache | オープンソースキャッシュ EhCache 2.x のクラスをサポートし、Spring コンテキストで Bean として EhCache CacheManager と Caches をセットアップできます。 |
org.springframework.cache.interceptor | 宣言的キャッシング境界設定のための AOP ベースのソリューション。 |
org.springframework.cache.jcache | JSR-107(javax.cache、別名 "JCache" )ベースのキャッシュの実装パッケージ。 |
org.springframework.cache.support | org.springframework.cache パッケージのサポートクラス。 |
org.springframework.cache.transaction | org.springframework.cache パッケージのトランザクション対応デコレーター。 |
org.springframework.web.reactive.config | Spring WebFlux 構成インフラストラクチャ。 |
org.springframework.web.reactive.resource | 静的リソースを提供するためのサポートクラス。 |
org.springframework.web.servlet.config.annotation | Spring MVC のアノテーションベースのセットアップ。 |
org.springframework.web.servlet.resource | 静的リソースを提供するためのサポートクラス。 |
修飾子と型 | メソッドと説明 |
---|---|
Cache | CacheManager.getCache(StringSE name) 指定された名前に関連付けられたキャッシュを取得します。 |
修飾子と型 | クラスと説明 |
---|---|
class | CaffeineCache Caffeine Cache インスタンスの上にある Spring Cache アダプターの実装。 |
修飾子と型 | メソッドと説明 |
---|---|
protected Cache | CaffeineCacheManager.adaptCaffeineCache(StringSE name, com.github.benmanes.caffeine.cache.Cache<ObjectSE, ObjectSE> cache) 指定された新しいネイティブ Caffeine キャッシュインスタンスを、指定されたキャッシュ名の Spring の Cache 抽象化に適合させます。 |
protected Cache | CaffeineCacheManager.createCaffeineCache(StringSE name) このキャッシュマネージャーで指定された共通の Caffeine 構成を使用して、指定されたキャッシュ名の共通の CaffeineCache インスタンスを構築します。 |
Cache | CaffeineCacheManager.getCache(StringSE name) |
修飾子と型 | クラスと説明 |
---|---|
class | ConcurrentMapCache コア JDK java.util.concurrent パッケージに基づく単純な Cache 実装。 |
修飾子と型 | メソッドと説明 |
---|---|
protected Cache | ConcurrentMapCacheManager.createConcurrentMapCache(StringSE name) 指定されたキャッシュ名の新しい ConcurrentMapCache インスタンスを作成します。 |
Cache | ConcurrentMapCacheManager.getCache(StringSE name) |
修飾子と型 | クラスと説明 |
---|---|
class | EhCacheCache |
修飾子と型 | メソッドと説明 |
---|---|
protected Cache | EhCacheCacheManager.getMissingCache(StringSE name) |
修飾子と型 | メソッドと説明 |
---|---|
protected CollectionSE<Cache> | EhCacheCacheManager.loadCaches() |
修飾子と型 | メソッドと説明 |
---|---|
protected CollectionSE<? extends Cache> | CacheAspectSupport.CacheOperationContext.getCaches() |
protected CollectionSE<? extends Cache> | CacheAspectSupport.getCaches(CacheOperationInvocationContext<CacheOperation> context, CacheResolver cacheResolver) |
CollectionSE<? extends Cache> | AbstractCacheResolver.resolveCaches(CacheOperationInvocationContext<?> context) |
CollectionSE<? extends Cache> | CacheResolver.resolveCaches(CacheOperationInvocationContext<?> context) 指定された呼び出しに使用するキャッシュを返します。 |
修飾子と型 | メソッドと説明 |
---|---|
protected void | AbstractCacheInvoker.doClear(Cache cache, boolean immediate) |
protected void | AbstractCacheInvoker.doEvict(Cache cache, ObjectSE key, boolean immediate) |
protected Cache.ValueWrapper | AbstractCacheInvoker.doGet(Cache cache, ObjectSE key) 指定された Cache で get(Object) を実行し、例外が発生した場合はエラーハンドラーを呼び出します。 |
protected void | AbstractCacheInvoker.doPut(Cache cache, ObjectSE key, ObjectSE result) 指定された Cache で put(Object, Object) を実行し、例外が発生した場合はエラーハンドラーを呼び出します。 |
void | CacheErrorHandler.handleCacheClearError(RuntimeExceptionSE exception, Cache cache) 指定された Cache をクリアするときに、キャッシュプロバイダーによってスローされた特定のランタイム例外を処理します。これは、致命的な例外として再スローされる可能性があります。 |
void | SimpleCacheErrorHandler.handleCacheClearError(RuntimeExceptionSE exception, Cache cache) |
void | CacheErrorHandler.handleCacheEvictError(RuntimeExceptionSE exception, Cache cache, ObjectSE key) 指定された key でアイテムをクリアするときに、キャッシュプロバイダーによってスローされた特定の実行時例外を処理します。致命的な例外として再スローされる可能性があります。 |
void | SimpleCacheErrorHandler.handleCacheEvictError(RuntimeExceptionSE exception, Cache cache, ObjectSE key) |
void | CacheErrorHandler.handleCacheGetError(RuntimeExceptionSE exception, Cache cache, ObjectSE key) 指定された key でアイテムを取得するときにキャッシュプロバイダーによってスローされた特定の実行時例外を処理します。致命的な例外として再スローされる可能性があります。 |
void | SimpleCacheErrorHandler.handleCacheGetError(RuntimeExceptionSE exception, Cache cache, ObjectSE key) |
void | CacheErrorHandler.handleCachePutError(RuntimeExceptionSE exception, Cache cache, ObjectSE key, ObjectSE value) 指定された key および value でアイテムを更新するときにキャッシュプロバイダーによってスローされた特定のランタイム例外を処理し、致命的な例外として再スローする可能性があります。 |
void | SimpleCacheErrorHandler.handleCachePutError(RuntimeExceptionSE exception, Cache cache, ObjectSE key, ObjectSE value) |
修飾子と型 | クラスと説明 |
---|---|
class | JCacheCache javax.cache.Cache インスタンス上での Cache 実装。 |
修飾子と型 | メソッドと説明 |
---|---|
protected Cache | JCacheCacheManager.getMissingCache(StringSE name) |
修飾子と型 | メソッドと説明 |
---|---|
protected CollectionSE<Cache> | JCacheCacheManager.loadCaches() |
修飾子と型 | クラスと説明 |
---|---|
class | AbstractValueAdaptingCache 基になるストアに渡す前に null 値(および場合によっては他のそのような特別な値)を適応させる必要がある Cache 実装の共通基本クラス。 |
class | NoOpCache キャッシュを無効にするのに適した操作なしの Cache 実装。 |
修飾子と型 | メソッドと説明 |
---|---|
protected Cache | AbstractCacheManager.decorateCache(Cache cache) 必要に応じて、指定された Cache オブジェクトを装飾します。 |
Cache | NoOpCacheManager.getCache(StringSE name) この実装は、常にアイテムを格納しない Cache 実装を返します。 |
Cache | CompositeCacheManager.getCache(StringSE name) |
Cache | AbstractCacheManager.getCache(StringSE name) |
protected Cache | AbstractCacheManager.getMissingCache(StringSE name) 指定された name または null で不足しているキャッシュを返します。そのようなキャッシュが存在しないか、オンデマンドで作成できなかった場合。 |
protected Cache | AbstractCacheManager.lookupCache(StringSE name) 指定された名前の登録済みキャッシュを確認します。 |
修飾子と型 | メソッドと説明 |
---|---|
protected CollectionSE<? extends Cache> | SimpleCacheManager.loadCaches() |
protected abstract CollectionSE<? extends Cache> | AbstractCacheManager.loadCaches() このキャッシュマネージャーの初期キャッシュをロードします。 |
修飾子と型 | メソッドと説明 |
---|---|
protected void | AbstractCacheManager.addCache(Cache cache) 使用すべきではありません。 Spring 4.3 現在、 AbstractCacheManager.getMissingCache(String) を推奨 |
protected Cache | AbstractCacheManager.decorateCache(Cache cache) 必要に応じて、指定された Cache オブジェクトを装飾します。 |
修飾子と型 | メソッドと説明 |
---|---|
void | SimpleCacheManager.setCaches(CollectionSE<? extends Cache> caches) この CacheManager に使用するキャッシュインスタンスのコレクションを指定します。 |
修飾子と型 | クラスと説明 |
---|---|
class | TransactionAwareCacheDecorator TransactionAwareCacheDecorator.put(java.lang.Object, java.lang.Object) 、TransactionAwareCacheDecorator.evict(java.lang.Object) 、TransactionAwareCacheDecorator.clear() 操作を Spring 管理のトランザクションと同期させるキャッシュデコレータ(Spring の TransactionSynchronizationManager を使用して、実際のキャッシュの put/evict/clear 操作を、成功したトランザクションのコミット後のフェーズでのみ実行します。 |
修飾子と型 | メソッドと説明 |
---|---|
protected Cache | AbstractTransactionSupportingCacheManager.decorateCache(Cache cache) |
Cache | TransactionAwareCacheManagerProxy.getCache(StringSE name) |
Cache | TransactionAwareCacheDecorator.getTargetCache() このキャッシュが委譲するターゲットキャッシュを返します。 |
修飾子と型 | メソッドと説明 |
---|---|
protected Cache | AbstractTransactionSupportingCacheManager.decorateCache(Cache cache) |
コンストラクターと説明 |
---|
TransactionAwareCacheDecorator(Cache targetCache) 指定されたターゲットキャッシュの新しい TransactionAwareCache を作成します。 |
修飾子と型 | メソッドと説明 |
---|---|
ResourceChainRegistration | ResourceHandlerRegistration.resourceChain(boolean cacheResources, Cache cache) 使用するリソースリゾルバーとトランスフォーマーのチェーンを構成します。 |
コンストラクターと説明 |
---|
ResourceChainRegistration(boolean cacheResources, Cache cache) |
修飾子と型 | メソッドと説明 |
---|---|
Cache | CachingResourceTransformer.getCache() 設定された Cache を返します。 |
Cache | CachingResourceResolver.getCache() 設定された Cache を返します。 |
コンストラクターと説明 |
---|
CachingResourceResolver(Cache cache) |
CachingResourceTransformer(Cache cache) |
修飾子と型 | メソッドと説明 |
---|---|
ResourceChainRegistration | ResourceHandlerRegistration.resourceChain(boolean cacheResources, Cache cache) 使用するリソースリゾルバーとトランスフォーマーのチェーンを構成します。 |
コンストラクターと説明 |
---|
ResourceChainRegistration(boolean cacheResources, Cache cache) |
修飾子と型 | メソッドと説明 |
---|---|
Cache | CachingResourceTransformer.getCache() 設定された Cache を返します。 |
Cache | CachingResourceResolver.getCache() 設定された Cache を返します。 |
コンストラクターと説明 |
---|
CachingResourceResolver(Cache cache) |
CachingResourceTransformer(Cache cache) |