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 | |
bindFixedHttpAddress(std::string host, int port) | Datacratic::RestServiceEndpoint | [inline] |
bindFixedHttpAddress(std::string address) (defined in Datacratic::RestServiceEndpoint) | Datacratic::RestServiceEndpoint | [inline] |
bindTcp() (defined in EchoService) | EchoService | [inline] |
bindTcp() (defined in EchoService) | EchoService | [inline] |
Datacratic::RestServiceEndpoint::bindTcp(PortRange const &zmqRange=PortRange(), PortRange const &httpRange=PortRange(), std::string host="") | Datacratic::RestServiceEndpoint | [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] |
context (defined in EchoService) | EchoService | |
debug(bool debugOn) | Datacratic::MessageLoop | [virtual] |
disconnect() | Datacratic::AsyncEventSource | |
doHandleRequest(const ConnectionId &connection, const RestRequest &request) (defined in Datacratic::RestServiceEndpoint) | Datacratic::RestServiceEndpoint | [inline] |
EchoService(std::shared_ptr< ServiceProxies > proxies, const std::string &serviceName) (defined in EchoService) | EchoService | [inline] |
EchoService(std::shared_ptr< ServiceProxies > proxies, const std::string &serviceName) (defined in EchoService) | EchoService | [inline] |
EchoService(std::shared_ptr< ServiceProxies > proxies, const std::string &serviceName) (defined in EchoService) | EchoService | [inline] |
endpoint (defined in EchoService) | EchoService | |
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] |
getHttpRequestId() const (defined in Datacratic::RestServiceEndpoint) | Datacratic::RestServiceEndpoint | [inline] |
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 | |
handleRequest(const ConnectionId &connection, const RestRequest &request) const | EchoService | [inline, virtual] |
httpEndpoint (defined in Datacratic::RestServiceEndpoint) | Datacratic::RestServiceEndpoint | |
init() (defined in EchoService) | EchoService | [inline] |
init(std::shared_ptr< ConfigurationService > config, const std::string &endpointName, double maxAddedLatency=0.005, int numThreads=1) (defined in Datacratic::RestServiceEndpoint) | Datacratic::RestServiceEndpoint | [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] |
logRequest (defined in Datacratic::RestServiceEndpoint) | Datacratic::RestServiceEndpoint | |
logResponse (defined in Datacratic::RestServiceEndpoint) | Datacratic::RestServiceEndpoint | |
loop (defined in EchoService) | EchoService | |
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 | |
onHandleRequest (defined in Datacratic::RestServiceEndpoint) | Datacratic::RestServiceEndpoint | |
OnHandleRequest typedef | Datacratic::RestServiceEndpoint | |
parent_ (defined in Datacratic::ServiceBase) | Datacratic::ServiceBase | [protected] |
Datacratic::RestServiceEndpoint::parent_ | Datacratic::AsyncEventSource | |
poll() const | Datacratic::MessageLoop | [virtual] |
processOne() | Datacratic::MessageLoop | [virtual] |
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 | |
RestServiceEndpoint(std::shared_ptr< zmq::context_t > context) | Datacratic::RestServiceEndpoint | [inline] |
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 EchoService) | EchoService | [inline] |
shutdown() (defined in EchoService) | EchoService | [inline] |
singleThreaded() const | Datacratic::AsyncEventSource | [inline, virtual] |
start() (defined in EchoService) | EchoService | [inline] |
start() (defined in EchoService) | EchoService | [inline] |
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 | |
toClients (defined in EchoService) | EchoService | |
totalSleepSeconds() const | Datacratic::MessageLoop | [inline] |
unregisterServiceProvider(const std::string &name, const std::vector< std::string > &serviceClasses) | Datacratic::ServiceBase | |
zmqEndpoint (defined in Datacratic::RestServiceEndpoint) | Datacratic::RestServiceEndpoint | |
~AsyncEventSource() (defined in Datacratic::AsyncEventSource) | Datacratic::AsyncEventSource | [inline, virtual] |
~EchoService() (defined in EchoService) | EchoService | [inline] |
~EchoService() (defined in EchoService) | EchoService | [inline] |
~Epoller() (defined in Datacratic::Epoller) | Datacratic::Epoller | |
~MessageLoop() (defined in Datacratic::MessageLoop) | Datacratic::MessageLoop | |
~RestServiceEndpoint() (defined in Datacratic::RestServiceEndpoint) | Datacratic::RestServiceEndpoint | [inline, virtual] |
~ServiceBase() (defined in Datacratic::ServiceBase) | Datacratic::ServiceBase | [virtual] |