gemfire::PdxUnreadFields Class Reference

Inherits gemfire::SharedBase.


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.

Public Member Functions

void preserveSB () const
 Atomically increment reference count.
int32_t refCount ()
 
Returns:
the reference count

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


Member Function Documentation

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

Atomically increment reference count.

int32_t gemfire::SharedBase::refCount (  )  [inline, inherited]

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