Public Member Functions | |
| void | addStatisticListener (const StatisticListener *listener) |
| Registers a listener that receives callbacks when a sample for the Statistic is available. | |
| const char * | getDescription () |
| Gets the full description of this Statistic. | |
| double | getDouble () |
| |
| uint32_t | getInt () |
| |
| int64_t | getLong () |
| |
| const char * | getName () |
| Gets the identifying name of this Statistic. | |
| bool | getType (StatisticsType *statisticsType) |
| Gets the Statistics::StatisticsType of this instance. | |
| const char * | getUnits () |
| Gets the unit of measurement this Statistic represents. | |
| bool | isCounter () |
| Returns true if this Statistic represents a numeric value which always increases. | |
| void | preserveSB () const |
| Atomically increment reference count. | |
| int32_t | refCount () |
| |
| void | releaseSB () const |
| Atomically decrement reference count, the SharedBase object is automatically deleted when its reference count goes to zero. | |
| void | removeStatisticListener (const StatisticListener *listener) |
| Unregisters a Statistic listener. | |
| virtual | ~Statistic () |
| virtual gemfire_admin::Statistic::~Statistic | ( | ) | [virtual] |
Methods
| void gemfire_admin::Statistic::addStatisticListener | ( | const StatisticListener * | listener | ) |
Registers a listener that receives callbacks when a sample for the Statistic is available.
| listener | pointer to an instance of the StatisticListener listner class |
| const char* gemfire_admin::Statistic::getDescription | ( | ) |
| double gemfire_admin::Statistic::getDouble | ( | ) |
| uint32_t gemfire_admin::Statistic::getInt | ( | ) |
| int64_t gemfire_admin::Statistic::getLong | ( | ) |
| const char* gemfire_admin::Statistic::getName | ( | ) |
| bool gemfire_admin::Statistic::getType | ( | StatisticsType * | statisticsType | ) |
Gets the Statistics::StatisticsType of this instance.
| [out] | statisticsType | StatisticsType for this statistic |
true for successfully filling statisticsType, false for failure | const char* gemfire_admin::Statistic::getUnits | ( | ) |
| bool gemfire_admin::Statistic::isCounter | ( | ) |
| void gemfire::SharedBase::preserveSB | ( | ) | const [inherited] |
Atomically increment reference count.
| int32_t gemfire::SharedBase::refCount | ( | ) | [inline, inherited] |
| void gemfire::SharedBase::releaseSB | ( | ) | const [inherited] |
Atomically decrement reference count, the SharedBase object is automatically deleted when its reference count goes to zero.
| void gemfire_admin::Statistic::removeStatisticListener | ( | const StatisticListener * | listener | ) |
Unregisters a Statistic listener.
| listener | pointer to an instance of the StatisticListener listner class |