Class NullValue
java.lang.Object
org.springframework.cache.support.NullValue
- All Implemented Interfaces:
Serializable
Simple serializable class that serves as a
null replacement
for cache stores which otherwise do not support null values.- Since:
- 4.2.2
- Author:
- Juergen Hoeller
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ObjectThe canonical representation of anullreplacement, as used by the default implementation ofAbstractValueAdaptingCache.toStoreValue(java.lang.Object)/AbstractValueAdaptingCache.fromStoreValue(java.lang.Object). -
Method Summary
-
Field Details
-
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
-
-
Method Details