RTBKit  0.9
Open-source framework to create real-time ad bidding systems.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator
Public Member Functions
Datacratic::StatAggregator Struct Reference

#include <stat_aggregator.h>

Inheritance diagram for Datacratic::StatAggregator:
Datacratic::CounterAggregator Datacratic::GaugeAggregator

List of all members.

Public Member Functions

virtual void record (float value)=0
virtual std::vector< StatReadingread (const std::string &prefix)=0

Detailed Description

Generic class that aggregates statistics.

Definition at line 42 of file stat_aggregator.h.


Member Function Documentation

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.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator