![]() |
RTBKit
0.9
Open-source framework to create real-time ad bidding systems.
|
#include <redis.h>
Classes | |
struct | EventLoop |
struct | MultiAggregator |
struct | RequestData |
struct | Timeout |
Public Types | |
typedef boost::function< void(const Result &)> | OnResult |
typedef boost::function< void(const Results &)> | OnResults |
Public Member Functions | |
AsyncConnection (const Address &address) | |
void | connect (const Address &address) |
void | test () |
void | close () |
int64_t | queue (const Command &command, const OnResult &onResult=OnResult(), Timeout timeout=Timeout()) |
Result | exec (const Command &command, Timeout timeout=Timeout()) |
void | queueMulti (const std::vector< Command > &commands, const OnResults &onResults=OnResults(), Timeout timeout=Timeout()) |
Results | execMulti (const std::vector< Command > &command, Timeout timeout=Timeout()) |
void | cancel (int handle) |
size_t | numRequestsPending () const |
size_t | numTimeoutsPending () const |
void Redis::AsyncConnection::cancel | ( | int | handle | ) |
Result Redis::AsyncConnection::exec | ( | const Command & | command, |
Timeout | timeout = Timeout() |
||
) |
Results Redis::AsyncConnection::execMulti | ( | const std::vector< Command > & | command, |
Timeout | timeout = Timeout() |
||
) |
int64_t Redis::AsyncConnection::queue | ( | const Command & | command, |
const OnResult & | onResult = OnResult() , |
||
Timeout | timeout = Timeout() |
||
) |
void Redis::AsyncConnection::queueMulti | ( | const std::vector< Command > & | commands, |
const OnResults & | onResults = OnResults() , |
||
Timeout | timeout = Timeout() |
||
) |
void Redis::AsyncConnection::test | ( | ) |