![]() |
RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
#include <stat_aggregator.h>
Public Member Functions | |
virtual void | record (float value)=0 |
virtual std::vector< StatReading > | read (const std::string &prefix)=0 |
Generic class that aggregates statistics.
Definition at line 42 of file stat_aggregator.h.
virtual std::vector<StatReading> Datacratic::StatAggregator::read | ( | const std::string & | prefix | ) | [pure virtual] |
Read and reset the counter, providing output in Graphite's preferred format.
Implemented in Datacratic::GaugeAggregator, and Datacratic::CounterAggregator.
virtual void Datacratic::StatAggregator::record | ( | float | value | ) | [pure virtual] |
Record a value.
Implemented in Datacratic::GaugeAggregator, and Datacratic::CounterAggregator.