gemfire::CqServiceStatistics Class Reference

Inherits gemfire::SharedBase.


Detailed Description

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

Public Member Functions

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