接口的使用
cn.taketoday.cache.Cache.ValueWrapper
使用Cache.ValueWrapper的程序包
程序包
说明
Caching System
Implementation package for
java.util.concurrent based caches.AOP-based solution for declarative caching demarcation.
-
cn.taketoday.cache中Cache.ValueWrapper的使用
修饰符和类型方法说明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. -
cn.taketoday.cache.concurrent中Cache.ValueWrapper的使用
-
cn.taketoday.cache.interceptor中Cache.ValueWrapper的使用
修饰符和类型方法说明protected Cache.ValueWrapperExecuteCache.get(Object)on the specifiedCacheand invoke the error handler if an exception occurs. -
cn.taketoday.cache.support中Cache.ValueWrapper的使用
修饰符和类型类说明classStraightforward implementation ofCache.ValueWrapper, simply holding the value as given at construction and returning it fromSimpleValueWrapper.get().修饰符和类型方法说明CaffeineCache.putIfAbsent(Object key, Object value) NoOpCache.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.