VMware GemFire Java API Reference
Package org.apache.geode.pdx
Interface PdxUnreadFields
-
public interface PdxUnreadFieldsMarker interface for an object that GemFire creates and returns fromreadUnreadFields. If you call readUnreadFields then you must also callwriteUnreadFieldswhen that object is reserialized. If you do not callwriteUnreadFieldsbut you did callreadUnreadFieldsthe unread fields will not be written.Unread fields are those that are not explicitly read with a
PdxReaderreadXXX method. This should only happen when a domain class has changed by adding or removing one or more fields. Unread fields will be preserved automatically (unless you turn this feature off usingsetPdxIgnoreUnreadFieldsorclient setPdxIgnoreUnreadFields) but to reduce the performance and memory overhead of automatic preservation it is recommended that usereadUnreadFieldsif possible.- Since:
- GemFire 6.6