Apache Geode Native C++ Reference 1.15.0
apache::geode::client::CqServiceStatistics Class Referenceabstract

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

#include <CqServiceStatistics.hpp>

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...
 

Detailed Description

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

Member Function Documentation

◆ numCqsActive()

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

◆ numCqsClosed()

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.

◆ numCqsCreated()

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.

◆ numCqsOnClient()

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.

◆ numCqsStopped()

virtual uint32_t apache::geode::client::CqServiceStatistics::numCqsStopped ( ) const
pure virtual

Get the number of stopped CQs currently.

Returns
number of CQs stopped.

Apache Geode C++ Cache API Documentation