VMware GemFire Native Client Cache Reference  9.0.6
gemfire::PdxUnreadFields Class Reference

Marker interface for an object that GemFire creates and returns from readUnreadFields. More...

Inherits gemfire::SharedBase.

Public Member Functions

void preserveSB () const
 Atomically increment reference count. More...
 
int32_t refCount ()
 
void releaseSB () const
 Atomically decrement reference count, the SharedBase object is automatically deleted when its reference count goes to zero. More...
 

Detailed Description

Marker interface for an object that GemFire creates and returns from readUnreadFields.

If you call readUnreadFields then you must also call writeUnreadFields when that object is reserialized. If you do not call writeUnreadFields but you did call readUnreadFields 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.

Member Function Documentation

void gemfire::SharedBase::preserveSB ( ) const
inherited

Atomically increment reference count.

int32_t gemfire::SharedBase::refCount ( )
inlineinherited
Returns
the reference count
void gemfire::SharedBase::releaseSB ( ) const
inherited

Atomically decrement reference count, the SharedBase object is automatically deleted when its reference count goes to zero.


GemFire C++ Cache API Documentation