Pivotal GemFire Native Client Cache Reference  9.0.6
gemfire::CqServiceStatistics Class Referenceabstract

This class provides methods to get aggregate statistical information about the CQs of a client. More...

Inherits gemfire::SharedBase.

Public Member Functions

virtual uint32_t numCqsActive () const =0
 Get the number of CQs currently active. More...
 
virtual uint32_t numCqsClosed () const =0
 Get the total number of closed CQs. More...
 
virtual uint32_t numCqsCreated () const =0
 Get the total number of CQs created. More...
 
virtual uint32_t numCqsOnClient () const =0
 Get number of CQs that are currently active or stopped. More...
 
virtual uint32_t numCqsStopped () const =0
 Get the number of stopped CQs currently. More...
 
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

This class provides methods to get aggregate statistical information about the CQs of a client.

Member Function Documentation

virtual uint32_t gemfire::CqServiceStatistics::numCqsActive ( ) const
pure virtual

Get the number of CQs currently active.

Active CQs are those which are executing (in running state).

Returns
number of CQs
virtual uint32_t gemfire::CqServiceStatistics::numCqsClosed ( ) const
pure virtual

Get the total number of closed CQs.

This is a cumulative number.

Returns
number of CQs closed.
virtual uint32_t gemfire::CqServiceStatistics::numCqsCreated ( ) const
pure virtual

Get the total number of CQs created.

This is a cumulative number.

Returns
number of CQs created.
virtual uint32_t gemfire::CqServiceStatistics::numCqsOnClient ( ) const
pure virtual

Get number of CQs that are currently active or stopped.

The CQs included in this number are either running or stopped (suspended). Closed CQs are not included.

Returns
number of CQs on client.
virtual uint32_t gemfire::CqServiceStatistics::numCqsStopped ( ) const
pure virtual

Get the number of stopped CQs currently.

Returns
number of CQs stopped.
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