类 SimpleValueWrapper
java.lang.Object
cn.taketoday.cache.support.SimpleValueWrapper
- 所有已实现的接口:
Cache.ValueWrapper
Straightforward implementation of
Cache.ValueWrapper,
simply holding the value as given at construction and returning it from get().- 从以下版本开始:
- 4.0 2022/3/9 20:48
- 作者:
- Costin Leau, Harry Yang
-
构造器概要
构造器构造器说明SimpleValueWrapper(Object value) Create a new SimpleValueWrapper instance for exposing the given value. -
方法概要
-
构造器详细资料
-
SimpleValueWrapper
Create a new SimpleValueWrapper instance for exposing the given value.- 参数:
value- the value to expose (may benull)
-
-
方法详细资料
-
get
Simply returns the value as given at construction time.- 指定者:
get在接口中Cache.ValueWrapper
-