gemfire_admin::StatisticListener Class Reference

Inherits gemfire::SharedBase.


Detailed Description

callback methods that are invoked when members join or leave the Distributed System.

See also:
Statistic::addStatisticListener
Author:
Jim Nist

Public Member Functions

void newValue (StatisticEventPtr &eventPtr)
 Invoked when a Statistic value changes.
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

void gemfire_admin::StatisticListener::newValue ( StatisticEventPtr eventPtr  ) 

Invoked when a Statistic value changes.

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