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

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

Inherits apache::geode::client::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 apache::geode::client::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 apache::geode::client::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 apache::geode::client::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 apache::geode::client::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 apache::geode::client::CqServiceStatistics::numCqsStopped ( ) const
pure virtual

Get the number of stopped CQs currently.

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