RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
addChildServiceStatus(Json::Value &result) const | Datacratic::ServiceBase | [virtual] |
addFd(int fd, void *data=0) | Datacratic::Epoller | |
addFdOneShot(int fd, void *data=0) | Datacratic::Epoller | |
addPeriodic(const std::string &name, double timePeriodSeconds, std::function< void(uint64_t)> toRun, int priority=0) | Datacratic::MessageLoop | |
addPeriodicDeferred(const std::string &name, double timePeriodSeconds, std::function< void(uint64_t)> toRun, int priority=0) | Datacratic::MessageLoop | |
addSource(const std::string &name, AsyncEventSource &source, int priority=0) | Datacratic::MessageLoop | |
addSource(const std::string &name, std::shared_ptr< AsyncEventSource > source, int priority=0) | Datacratic::MessageLoop | |
addSourceDeferred(const std::string &name, AsyncEventSource &source, int priority=0) | Datacratic::MessageLoop | |
addSourceDeferred(const std::string &name, std::shared_ptr< AsyncEventSource > source, int priority=0) | Datacratic::MessageLoop | |
afterSleep (defined in Datacratic::Epoller) | Datacratic::Epoller | |
AsyncEventSource() (defined in Datacratic::AsyncEventSource) | Datacratic::AsyncEventSource | [inline] |
beforeSleep (defined in Datacratic::Epoller) | Datacratic::Epoller | |
bindTcp(PortRange const &portRange=PortRange(), std::string host="") (defined in Datacratic::ZmqNamedPublisher) | Datacratic::ZmqNamedPublisher | [inline] |
checkNeedsPoll() | Datacratic::MessageLoop | |
children_ (defined in Datacratic::ServiceBase) | Datacratic::ServiceBase | [protected] |
close() (defined in Datacratic::Epoller) | Datacratic::Epoller | |
connected(MessageLoop *parent) | Datacratic::AsyncEventSource | [inline, virtual] |
debug(bool debugOn) | Datacratic::MessageLoop | [virtual] |
disconnect() | Datacratic::AsyncEventSource | |
encodeAll(std::vector< zmq::message_t > &messages, Head head, Tail &&...tail) (defined in Datacratic::ZmqNamedPublisher) | Datacratic::ZmqNamedPublisher | [inline] |
encodeAll(std::vector< zmq::message_t > &messages, const std::vector< std::string > &head, Tail &&...tail) (defined in Datacratic::ZmqNamedPublisher) | Datacratic::ZmqNamedPublisher | [inline] |
encodeAll(std::vector< zmq::message_t > &messages) (defined in Datacratic::ZmqNamedPublisher) | Datacratic::ZmqNamedPublisher | [inline] |
Epoller() (defined in Datacratic::Epoller) | Datacratic::Epoller | |
eventPrefix_ (defined in Datacratic::EventRecorder) | Datacratic::EventRecorder | [protected] |
EventRecorder(const std::string &eventPrefix, const std::shared_ptr< EventService > &events) (defined in Datacratic::EventRecorder) | Datacratic::EventRecorder | |
EventRecorder(const std::string &eventPrefix, const std::shared_ptr< ServiceProxies > &services) (defined in Datacratic::EventRecorder) | Datacratic::EventRecorder | |
events_ (defined in Datacratic::EventRecorder) | Datacratic::EventRecorder | [protected] |
getServices() const (defined in Datacratic::ServiceBase) | Datacratic::ServiceBase | [inline] |
getServiceStatus() const | Datacratic::ServiceBase | [virtual] |
getZmqContext() const (defined in Datacratic::ServiceBase) | Datacratic::ServiceBase | [inline] |
HandleEvent typedef (defined in Datacratic::Epoller) | Datacratic::Epoller | |
handleEvent | Datacratic::Epoller | |
handleEvents(int usToWait=0, int nEvents=1, const HandleEvent &handleEvent=HandleEvent(), const OnEvent &beforeSleep=OnEvent(), const OnEvent &afterSleep=OnEvent()) | Datacratic::Epoller | |
init() (defined in Publisher) | Publisher | [inline] |
init(std::shared_ptr< ConfigurationService > config, const std::string &endpointName, const std::string &identity="") (defined in Datacratic::ZmqNamedPublisher) | Datacratic::ZmqNamedPublisher | [inline] |
init(int numThreads=1, double maxAddedLatency=0.0005) (defined in Datacratic::MessageLoop) | Datacratic::MessageLoop | |
init(int maxFds) (defined in Datacratic::Epoller) | Datacratic::Epoller | |
logException(std::exception_ptr exc, const std::string &context) (defined in Datacratic::ServiceBase) | Datacratic::ServiceBase | [inline] |
MessageLoop(int numThreads=1, double maxAddedLatency=0.0005) (defined in Datacratic::MessageLoop) | Datacratic::MessageLoop | |
needsPoll | Datacratic::AsyncEventSource | |
OnEvent typedef (defined in Datacratic::Epoller) | Datacratic::Epoller | |
parent_ (defined in Datacratic::ServiceBase) | Datacratic::ServiceBase | [protected] |
Datacratic::ZmqNamedPublisher::parent_ | Datacratic::AsyncEventSource | |
poll() const | Datacratic::MessageLoop | [virtual] |
processOne() | Datacratic::MessageLoop | [virtual] |
publish(const std::string &channel, Args &&...args) (defined in Datacratic::ZmqNamedPublisher) | Datacratic::ZmqNamedPublisher | [inline] |
Publisher(const std::string &name, std::shared_ptr< ServiceProxies > proxies) (defined in Publisher) | Publisher | [inline] |
recordCount(float count, const std::string &event, Args...args) const (defined in Datacratic::EventRecorder) | Datacratic::EventRecorder | [inline] |
recordCount(float count, const char *event, Args...args) const (defined in Datacratic::EventRecorder) | Datacratic::EventRecorder | [inline] |
recordCount(float count, const char *event) const (defined in Datacratic::EventRecorder) | Datacratic::EventRecorder | [inline] |
recordCount(float count, const std::string &event) const (defined in Datacratic::EventRecorder) | Datacratic::EventRecorder | [inline] |
recordEvent(const char *eventName, EventType type=ET_COUNT, float value=1.0) const | Datacratic::EventRecorder | [inline] |
recordEventFmt(EventType type, float value, const char *fmt,...) const JML_FORMAT_STRING(4 (defined in Datacratic::EventRecorder) | Datacratic::EventRecorder | |
recordHit(const std::string &event, Args...args) const (defined in Datacratic::EventRecorder) | Datacratic::EventRecorder | [inline] |
recordHit(const char *event, Args...args) const (defined in Datacratic::EventRecorder) | Datacratic::EventRecorder | [inline] |
recordHit(const char *event) const (defined in Datacratic::EventRecorder) | Datacratic::EventRecorder | [inline] |
recordHit(const std::string &event) const (defined in Datacratic::EventRecorder) | Datacratic::EventRecorder | [inline] |
recordLevel(float level, const std::string &event, Args...args) const (defined in Datacratic::EventRecorder) | Datacratic::EventRecorder | [inline] |
recordLevel(float level, const char *event, Args...args) const (defined in Datacratic::EventRecorder) | Datacratic::EventRecorder | [inline] |
recordLevel(float level, const char *event) const (defined in Datacratic::EventRecorder) | Datacratic::EventRecorder | [inline] |
recordLevel(float level, const std::string &event) const (defined in Datacratic::EventRecorder) | Datacratic::EventRecorder | [inline] |
recordOutcome(float outcome, const std::string &event, Args...args) const (defined in Datacratic::EventRecorder) | Datacratic::EventRecorder | [inline] |
recordOutcome(float outcome, const char *event, Args...args) const (defined in Datacratic::EventRecorder) | Datacratic::EventRecorder | [inline] |
recordOutcome(float outcome, const char *event) const (defined in Datacratic::EventRecorder) | Datacratic::EventRecorder | [inline] |
recordOutcome(float outcome, const std::string &event) const (defined in Datacratic::EventRecorder) | Datacratic::EventRecorder | [inline] |
registerServiceProvider(const std::string &name, const std::vector< std::string > &serviceClasses) | Datacratic::ServiceBase | |
removeFd(int fd) | Datacratic::Epoller | |
removeSource(AsyncEventSource *source) | Datacratic::MessageLoop | |
restartFdOneShot(int fd, void *data=0) | Datacratic::Epoller | |
selectFd() const | Datacratic::Epoller | [inline, virtual] |
ServiceBase(const std::string &serviceName, std::shared_ptr< ServiceProxies >=std::shared_ptr< ServiceProxies >()) | Datacratic::ServiceBase | |
ServiceBase(const std::string &subServiceName, ServiceBase &parent) | Datacratic::ServiceBase | |
serviceName() const (defined in Datacratic::ServiceBase) | Datacratic::ServiceBase | [inline] |
serviceName_ (defined in Datacratic::ServiceBase) | Datacratic::ServiceBase | [protected] |
services_ (defined in Datacratic::ServiceBase) | Datacratic::ServiceBase | [protected] |
setServices(std::shared_ptr< ServiceProxies > services) (defined in Datacratic::ServiceBase) | Datacratic::ServiceBase | [inline] |
shutdown() (defined in Datacratic::ZmqNamedPublisher) | Datacratic::ZmqNamedPublisher | [inline] |
singleThreaded() const | Datacratic::AsyncEventSource | [inline, virtual] |
start(std::function< void()> onStop=std::function< void()>()) (defined in Datacratic::MessageLoop) | Datacratic::MessageLoop | |
startSubordinateThread(const SubordinateThreadFn &mainFn) | Datacratic::MessageLoop | |
startSync() (defined in Datacratic::MessageLoop) | Datacratic::MessageLoop | |
SubordinateThreadFn typedef (defined in Datacratic::MessageLoop) | Datacratic::MessageLoop | |
totalSleepSeconds() const | Datacratic::MessageLoop | [inline] |
unregisterServiceProvider(const std::string &name, const std::vector< std::string > &serviceClasses) | Datacratic::ServiceBase | |
ZmqNamedPublisher(std::shared_ptr< zmq::context_t > context, int messageBufferSize=10000) (defined in Datacratic::ZmqNamedPublisher) | Datacratic::ZmqNamedPublisher | [inline] |
~AsyncEventSource() (defined in Datacratic::AsyncEventSource) | Datacratic::AsyncEventSource | [inline, virtual] |
~Epoller() (defined in Datacratic::Epoller) | Datacratic::Epoller | |
~MessageLoop() (defined in Datacratic::MessageLoop) | Datacratic::MessageLoop | |
~Publisher() (defined in Publisher) | Publisher | [inline] |
~ServiceBase() (defined in Datacratic::ServiceBase) | Datacratic::ServiceBase | [virtual] |
~ZmqNamedPublisher() (defined in Datacratic::ZmqNamedPublisher) | Datacratic::ZmqNamedPublisher | [inline, virtual] |