インターフェースの使用
org.springframework.cache.Cache.ValueWrapper
Cache.ValueWrapper を使用するパッケージ
パッケージ
説明
Spring の汎用キャッシュ抽象化。
Caffeine ライブラリのオープンソースキャッシュのクラスをサポートし、Spring のキャッシュ抽象化内で Caffeine キャッシュをセットアップできます。
java.util.concurrent ベースのキャッシュの実装パッケージ。 宣言的キャッシング境界設定のための AOP ベースのソリューション。
JSR-107(javax.cache、別名 "JCache" )ベースのキャッシュの実装パッケージ。
org.springframework.cache パッケージのサポートクラス。
org.springframework.cache パッケージのトランザクション対応デコレーター。
org.springframework.cache 内の Cache.ValueWrapper 使用
Cache.ValueWrapper を返す org.springframework.cache のメソッド修飾子と型メソッド説明このキャッシュが指定されたキーをマップする値を返します。default @Nullable Cache.ValueWrapperCache.putIfAbsent(ObjectSE key, @Nullable ObjectSE value) 指定された値が設定されていない場合、指定された値をこのキャッシュ内の指定されたキーと原子的に関連付けます。org.springframework.cache.caffeine 内の Cache.ValueWrapper 使用
org.springframework.cache.concurrent 内の Cache.ValueWrapper 使用
org.springframework.cache.interceptor 内の Cache.ValueWrapper 使用
修飾子と型メソッド説明protected @Nullable Cache.ValueWrapper指定されたCacheでCache.get(Object)を実行し、例外が発生した場合はエラーハンドラーを呼び出します。org.springframework.cache.jcache 内の Cache.ValueWrapper 使用
org.springframework.cache.support 内の Cache.ValueWrapper 使用
Cache.ValueWrapper を実装している org.springframework.cache.support のクラス修飾子と型メソッド説明NoOpCache.putIfAbsent(ObjectSE key, @Nullable ObjectSE value) protected @Nullable Cache.ValueWrapperAbstractValueAdaptingCache.toValueWrapper(@Nullable ObjectSE storeValue) 指定されたストア値をSimpleValueWrapperでラップします。これもAbstractValueAdaptingCache.fromStoreValue(java.lang.Object)変換を行います。org.springframework.cache.transaction 内の Cache.ValueWrapper 使用