类 NullValue
- java.lang.Object
- org.springframework.cache.support.NullValue
- 所有已实现的接口:
Serializable
public final class NullValue extends Object implements Serializable
Simple serializable class that serves as anullreplacement for cache stores which otherwise do not supportnullvalues.- 从以下版本开始:
- 4.2.2
- 作者:
- Juergen Hoeller
- 另请参阅:
AbstractValueAdaptingCache, 序列化表格
字段概要
字段 修饰符和类型 字段 说明 static ObjectINSTANCEThe canonical representation of anullreplacement, as used by the default implementation ofAbstractValueAdaptingCache.toStoreValue(java.lang.Object)/AbstractValueAdaptingCache.fromStoreValue(java.lang.Object).
字段详细资料
INSTANCE
public static final Object INSTANCE
The canonical representation of anullreplacement, as used by the default implementation ofAbstractValueAdaptingCache.toStoreValue(java.lang.Object)/AbstractValueAdaptingCache.fromStoreValue(java.lang.Object).- 从以下版本开始:
- 4.3.10