![]() |
RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
#include <carbon_connector.h>
Classes | |
struct | Connection |
Public Member Functions | |
CarbonConnector (const std::string &carbonAddr, const std::string &path, std::function< void()> onStop=std::function< void()>()) | |
CarbonConnector (const std::vector< std::string > &carbonAddrs, const std::string &path, std::function< void()> onStop=std::function< void()>()) | |
void | open (const std::string &carbonAddr, const std::string &path, std::function< void()> onStop=std::function< void()>()) |
void | open (const std::vector< std::string > &carbonAddrs, const std::string &path, std::function< void()> onStop=std::function< void()>()) |
virtual void | doStat (const std::vector< StatReading > &value) const |
A connector to carbon that pings it once/second and accumulates statistics apart from that.
Definition at line 164 of file carbon_connector.h.
void Datacratic::CarbonConnector::doStat | ( | const std::vector< StatReading > & | value | ) | const [virtual] |
Override for doStat to send it over to Carbon.
Reimplemented from Datacratic::MultiAggregator.
Definition at line 382 of file carbon_connector.cc.