gemfire::CqStatistics Class Reference

Inherits gemfire::SharedBase.


Detailed Description

This class provides methods to get statistical information about a registered Continuous Query (CQ) represented by the CqQuery object.

Public Member Functions

virtual uint32_t numDeletes () const =0
 Get number of Delete events qualified by this CQ.
virtual uint32_t numEvents () const =0
 Get total of all the events qualified by this CQ.
virtual uint32_t numInserts () const =0
 Get number of Insert events qualified by this CQ.
virtual uint32_t numUpdates () const =0
 Get number of Update events qualified by this CQ.
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

virtual uint32_t gemfire::CqStatistics::numDeletes (  )  const [pure virtual]

Get number of Delete events qualified by this CQ.

Returns:
number of deletes.

virtual uint32_t gemfire::CqStatistics::numEvents (  )  const [pure virtual]

Get total of all the events qualified by this CQ.

Returns:
total number of events.

virtual uint32_t gemfire::CqStatistics::numInserts (  )  const [pure virtual]

Get number of Insert events qualified by this CQ.

Returns:
number of inserts.

virtual uint32_t gemfire::CqStatistics::numUpdates (  )  const [pure virtual]

Get number of Update events qualified by this CQ.

Returns:
number of updates.

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