Uses of Interface
org.springframework.cache.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
Modifier 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
-
Uses of Cache.ValueWrapper in org.springframework.cache.concurrent
Modifier and TypeMethodDescriptionConcurrentMapCache.putIfAbsent
(Object key, @Nullable Object value) -
Uses of Cache.ValueWrapper in org.springframework.cache.interceptor
Modifier 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
-
Uses of Cache.ValueWrapper in org.springframework.cache.support
Modifier and TypeClassDescriptionclass
Straightforward implementation ofCache.ValueWrapper
, simply holding the value as given at construction and returning it fromSimpleValueWrapper.get()
.Modifier 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
Modifier and TypeMethodDescriptionTransactionAwareCacheDecorator.putIfAbsent
(Object key, @Nullable Object value)