2 #include "../acl_cpp_define.hpp" 4 #include "../stream/socket_stream.hpp" 5 #include "../connpool/connect_client.hpp" 7 #if !defined(ACL_CLIENT_ONLY) && !defined(ACL_REDIS_DISABLE) 41 int rw_timeout = 30,
bool retry =
true);
56 void set_password(
const char* pass);
65 void set_db(
int dbnum);
92 void set_check_addr(
bool on);
124 void set_slice_request(
bool on);
136 void set_slice_respond(
bool on);
159 size_t nchildren,
int* rw_timeout = NULL);
168 size_t nchildren,
int* rw_timeout = NULL);
171 int* rw_timeout = NULL);
202 const char* data,
size_t len);
208 #endif // !defined(ACL_CLIENT_ONLY) && !defined(ACL_REDIS_DISABLE)
const char * get_addr(void) const