Class NullValue
- java.lang.Object
- org.springframework.cache.support.NullValue
- All Implemented Interfaces:
Serializable
public final class NullValue extends Object implements Serializable
Simple serializable class that serves as anullreplacement for cache stores which otherwise do not supportnullvalues.- Since:
- 4.2.2
- Author:
- Juergen Hoeller
- See Also:
AbstractValueAdaptingCache, Serialized Form
Field Summary
Fields Modifier and Type Field Description static ObjectINSTANCEThe canonical representation of anullreplacement, as used by the default implementation ofAbstractValueAdaptingCache.toStoreValue(java.lang.Object)/AbstractValueAdaptingCache.fromStoreValue(java.lang.Object).
Field Detail
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).- Since:
- 4.3.10