cpp_redis
4.0.0
cpp_redis is a C++11 Asynchronous Multi-Platform Lightweight Redis Client, with support for synchronous operations and pipelining.
|
#include <sentinel.hpp>
Public Member Functions | |
sentinel_def (const std::string &host, std::size_t port, std::uint32_t timeout_msecs) | |
ctor | |
~sentinel_def (void)=default | |
dtor | |
const std::string & | get_host (void) const |
size_t | get_port (void) const |
std::uint32_t | get_timeout_msecs (void) const |
void | set_timeout_msecs (std::uint32_t timeout_msecs) |
store informations related to a sentinel typically, host, port and connection timeout
|
inline |
|
inline |
|
inline |
|
inline |
set connect timeout for sentinel in msecs
timeout_msecs | new value |