VMware GemFire Native C++ Reference  9.1
apache::geode::client::PdxUnreadFields Class Reference

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

Inherits apache::geode::client::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 Geode 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 apache::geode::client::SharedBase::preserveSB ( ) const
inherited

Atomically increment reference count.

int32_t apache::geode::client::SharedBase::refCount ( )
inlineinherited
Returns
the reference count
void apache::geode::client::SharedBase::releaseSB ( ) const
inherited

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


Pivotal GemFire C++ Cache API Documentation