接口的使用
org.springframework.cache.Cache.ValueWrapper
使用Cache.ValueWrapper的程序包 程序包 说明 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.concurrentbased 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.org.springframework.cache中Cache.ValueWrapper的使用
返回Cache.ValueWrapper的org.springframework.cache中的方法 修饰符和类型 方法 说明 Cache.ValueWrapperCache. get(Object key)Return the value to which this cache maps the specified key.default Cache.ValueWrapperCache. putIfAbsent(Object key, Object value)Atomically associate the specified value with the specified key in this cache if it is not set already.org.springframework.cache.caffeine中Cache.ValueWrapper的使用
返回Cache.ValueWrapper的org.springframework.cache.caffeine中的方法 修饰符和类型 方法 说明 Cache.ValueWrapperCaffeineCache. get(Object key)Cache.ValueWrapperCaffeineCache. putIfAbsent(Object key, Object value)org.springframework.cache.concurrent中Cache.ValueWrapper的使用
返回Cache.ValueWrapper的org.springframework.cache.concurrent中的方法 修饰符和类型 方法 说明 Cache.ValueWrapperConcurrentMapCache. putIfAbsent(Object key, Object value)org.springframework.cache.ehcache中Cache.ValueWrapper的使用
返回Cache.ValueWrapper的org.springframework.cache.ehcache中的方法 修饰符和类型 方法 说明 Cache.ValueWrapperEhCacheCache. get(Object key)Cache.ValueWrapperEhCacheCache. putIfAbsent(Object key, Object value)org.springframework.cache.interceptor中Cache.ValueWrapper的使用
返回Cache.ValueWrapper的org.springframework.cache.interceptor中的方法 修饰符和类型 方法 说明 protected Cache.ValueWrapperAbstractCacheInvoker. doGet(Cache cache, Object key)ExecuteCache.get(Object)on the specifiedCacheand invoke the error handler if an exception occurs.org.springframework.cache.jcache中Cache.ValueWrapper的使用
返回Cache.ValueWrapper的org.springframework.cache.jcache中的方法 修饰符和类型 方法 说明 Cache.ValueWrapperJCacheCache. putIfAbsent(Object key, Object value)org.springframework.cache.support中Cache.ValueWrapper的使用
实现Cache.ValueWrapper的org.springframework.cache.support中的类 修饰符和类型 类 说明 classSimpleValueWrapperStraightforward implementation ofCache.ValueWrapper, simply holding the value as given at construction and returning it fromSimpleValueWrapper.get().返回Cache.ValueWrapper的org.springframework.cache.support中的方法 修饰符和类型 方法 说明 Cache.ValueWrapperAbstractValueAdaptingCache. get(Object key)Cache.ValueWrapperNoOpCache. get(Object key)Cache.ValueWrapperNoOpCache. putIfAbsent(Object key, Object value)protected Cache.ValueWrapperAbstractValueAdaptingCache. toValueWrapper(Object storeValue)Wrap the given store value with aSimpleValueWrapper, also going throughAbstractValueAdaptingCache.fromStoreValue(java.lang.Object)conversion.org.springframework.cache.transaction中Cache.ValueWrapper的使用
返回Cache.ValueWrapper的org.springframework.cache.transaction中的方法 修饰符和类型 方法 说明 Cache.ValueWrapperTransactionAwareCacheDecorator. get(Object key)Cache.ValueWrapperTransactionAwareCacheDecorator. putIfAbsent(Object key, Object value)