Uses of Interface
org.springframework.cache.Cache.ValueWrapper
Packages that use Cache.ValueWrapper Package Description org.springframework.cache Spring's generic cache abstraction.org.springframework.cache.caffeine Support classes for the open source cache in Caffeine library, allowing to set up Caffeine caches within Spring's cache abstraction.org.springframework.cache.concurrent Implementation package forjava.util.concurrent
based caches.org.springframework.cache.ehcache Support classes for the open source cache EhCache 2.x, allowing to set up an EhCache CacheManager and Caches as beans in a Spring context.org.springframework.cache.interceptor AOP-based solution for declarative caching demarcation.org.springframework.cache.jcache Implementation package for JSR-107 (javax.cache aka "JCache") based caches.org.springframework.cache.support Support classes for the org.springframework.cache package.org.springframework.cache.transaction 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.ValueWrapper Modifier and Type Method Description Cache.ValueWrapper
Cache. get(Object key)
Return the value to which this cache maps the specified key.default Cache.ValueWrapper
Cache. putIfAbsent(Object key, 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 Modifier and Type Method Description Cache.ValueWrapper
CaffeineCache. get(Object key)
Cache.ValueWrapper
CaffeineCache. putIfAbsent(Object key, Object value)
Uses of Cache.ValueWrapper in org.springframework.cache.concurrent
Methods in org.springframework.cache.concurrent that return Cache.ValueWrapper Modifier and Type Method Description Cache.ValueWrapper
ConcurrentMapCache. putIfAbsent(Object key, Object value)
Uses of Cache.ValueWrapper in org.springframework.cache.ehcache
Methods in org.springframework.cache.ehcache that return Cache.ValueWrapper Modifier and Type Method Description Cache.ValueWrapper
EhCacheCache. get(Object key)
Cache.ValueWrapper
EhCacheCache. putIfAbsent(Object key, Object value)
Uses of Cache.ValueWrapper in org.springframework.cache.interceptor
Methods in org.springframework.cache.interceptor that return Cache.ValueWrapper Modifier and Type Method Description protected Cache.ValueWrapper
AbstractCacheInvoker. doGet(Cache cache, Object key)
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 Modifier and Type Method Description Cache.ValueWrapper
JCacheCache. putIfAbsent(Object key, Object value)
Uses of Cache.ValueWrapper in org.springframework.cache.support
Classes in org.springframework.cache.support that implement Cache.ValueWrapper Modifier and Type Class Description class
SimpleValueWrapper
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.ValueWrapper Modifier and Type Method Description Cache.ValueWrapper
AbstractValueAdaptingCache. get(Object key)
Cache.ValueWrapper
NoOpCache. get(Object key)
Cache.ValueWrapper
NoOpCache. putIfAbsent(Object key, Object value)
protected Cache.ValueWrapper
AbstractValueAdaptingCache. toValueWrapper(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.ValueWrapper Modifier and Type Method Description Cache.ValueWrapper
TransactionAwareCacheDecorator. get(Object key)
Cache.ValueWrapper
TransactionAwareCacheDecorator. putIfAbsent(Object key, Object value)