Uses of Interface
org.springframework.cache.Cache.ValueWrapper
Packages that use Cache.ValueWrapper
Package
Description
Spring's generic cache abstraction.
Support classes for the open source cache in
Caffeine library,
allowing to set up Caffeine caches within Spring's cache abstraction.
Implementation package for
java.util.concurrent
based caches.AOP-based solution for declarative caching demarcation.
Implementation package for JSR-107 (javax.cache aka "JCache") based caches.
Support classes for the org.springframework.cache package.
Transaction-aware decorators for the org.springframework.cache package.
-
Uses of Cache.ValueWrapper in org.springframework.cache
Methods in org.springframework.cache that return Cache.ValueWrapperModifier and TypeMethodDescriptionReturn the value to which this cache maps the specified key.default @Nullable Cache.ValueWrapper
Cache.putIfAbsent
(Object key, @Nullable Object value) Atomically associate the specified value with the specified key in this cache if it is not set already. -
Uses of Cache.ValueWrapper in org.springframework.cache.caffeine
Methods in org.springframework.cache.caffeine that return Cache.ValueWrapper -
Uses of Cache.ValueWrapper in org.springframework.cache.concurrent
Methods in org.springframework.cache.concurrent that return Cache.ValueWrapperModifier and TypeMethodDescriptionConcurrentMapCache.putIfAbsent
(Object key, @Nullable Object value) -
Uses of Cache.ValueWrapper in org.springframework.cache.interceptor
Methods in org.springframework.cache.interceptor that return Cache.ValueWrapperModifier and TypeMethodDescriptionprotected @Nullable Cache.ValueWrapper
ExecuteCache.get(Object)
on the specifiedCache
and invoke the error handler if an exception occurs. -
Uses of Cache.ValueWrapper in org.springframework.cache.jcache
Methods in org.springframework.cache.jcache that return Cache.ValueWrapper -
Uses of Cache.ValueWrapper in org.springframework.cache.support
Classes in org.springframework.cache.support that implement Cache.ValueWrapperModifier and TypeClassDescriptionclass
Straightforward implementation ofCache.ValueWrapper
, simply holding the value as given at construction and returning it fromSimpleValueWrapper.get()
.Methods in org.springframework.cache.support that return Cache.ValueWrapperModifier and TypeMethodDescriptionNoOpCache.putIfAbsent
(Object key, @Nullable Object value) protected @Nullable Cache.ValueWrapper
AbstractValueAdaptingCache.toValueWrapper
(@Nullable Object storeValue) Wrap the given store value with aSimpleValueWrapper
, also going throughAbstractValueAdaptingCache.fromStoreValue(java.lang.Object)
conversion. -
Uses of Cache.ValueWrapper in org.springframework.cache.transaction
Methods in org.springframework.cache.transaction that return Cache.ValueWrapperModifier and TypeMethodDescriptionTransactionAwareCacheDecorator.putIfAbsent
(Object key, @Nullable Object value)