Uses of Interface
org.springframework.cache.Cache.ValueWrapper
Packages that use Cache.ValueWrapper
Package
Description
Spring's generic cache abstraction.
Implementation package for
java.util.concurrent based caches.AOP-based solution for declarative caching demarcation.
Support classes 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.ValueWrapperCache.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.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.ValueWrapperExecuteCache.get(Object)on the specifiedCacheand invoke the error handler if an exception occurs. -
Uses of Cache.ValueWrapper in org.springframework.cache.support
Classes in org.springframework.cache.support that implement Cache.ValueWrapperModifier and TypeClassDescriptionclassStraightforward 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.ValueWrapperAbstractValueAdaptingCache.toValueWrapper(@Nullable Object storeValue) Wrap the given store value with aSimpleValueWrapper, also going throughAbstractValueAdaptingCache.fromStoreValue(Object)conversion.