Gemfire JavaDocs_test
Package org.apache.geode.pdx
Interface PdxUnreadFields
-
public interface PdxUnreadFields
Marker interface for an object that GemFire creates and returns fromreadUnreadFields
. If you call readUnreadFields then you must also callwriteUnreadFields
when that object is reserialized. If you do not callwriteUnreadFields
but you did callreadUnreadFields
the unread fields will not be written.Unread fields are those that are not explicitly read with a
PdxReader
readXXX 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 usingsetPdxIgnoreUnreadFields
orclient setPdxIgnoreUnreadFields
) but to reduce the performance and memory overhead of automatic preservation it is recommended that usereadUnreadFields
if possible.- Since:
- GemFire 6.6