|
| redis_role (void) |
|
| redis_role (redis_client *conn) |
|
virtual | ~redis_role (void) |
|
bool | role (void) |
|
const redis_role4master & | get_role4master (void) const |
|
const redis_role4slave & | get_role4slave (void) const |
|
const char * | get_role_name (void) const |
|
| redis_command (void) |
|
| redis_command (redis_client *conn) |
|
| redis_command (redis_client_cluster *cluster) |
|
ACL_CPP_DEPRECATED | redis_command (redis_client_cluster *cluster, size_t max_conns) |
|
| redis_command (redis_client_pipeline *pipeline) |
|
virtual | ~redis_command (void) |
|
void | set_check_addr (bool on) |
|
void | clear (bool save_slot=false) |
|
void | reset (bool save_slot=false) |
|
void | set_client (redis_client *conn) |
|
redis_client * | get_client (void) const |
|
const char * | get_client_addr (void) const |
|
void | set_cluster (redis_client_cluster *cluster) |
|
ACL_CPP_DEPRECATED void | set_cluster (redis_client_cluster *cluster, size_t max_conns) |
|
redis_client_cluster * | get_cluster (void) const |
|
void | set_pipeline (redis_client_pipeline *pipeline, bool use_mbox=true) |
|
redis_client_pipeline * | get_pipeline (void) const |
|
dbuf_pool * | get_dbuf (void) const |
|
redis_result_t | result_type (void) const |
|
const char * | result_status (void) const |
|
const char * | result_error (void) const |
|
size_t | result_size (void) const |
|
int | result_number (bool *success=NULL) const |
|
long long int | result_number64 (bool *success=NULL) const |
|
const char * | get_result (size_t i, size_t *len=NULL) const |
|
bool | eof (void) const |
|
const redis_result * | get_result (void) const |
|
const redis_result * | result_child (size_t i) const |
|
const char * | result_value (size_t i, size_t *len=NULL) const |
|
void | set_slice_request (bool on) |
|
void | set_slice_respond (bool on) |
|
const redis_result * | request (size_t argc, const char *argv[], size_t lens[], size_t nchild=0) |
|
const redis_result * | request (const std::vector< string > &args, size_t nchild=0) |
|
const string * | request_buf (void) const |
|
void | build_request (size_t argc, const char *argv[], size_t lens[]) |
|
void | hash_slot (const char *key) |
|
void | hash_slot (const char *key, size_t len) |
|
int | get_slot (void) const |
|
bool | is_check_addr (void) const |
|
const char * | get_addr (const char *info) |
|
void | set_client_addr (const char *addr) |
|
void | set_client_addr (redis_client &conn) |
|
redis_request * | get_request_obj (void) const |
|
string * | get_request_buf (void) const |
|
bool | is_slice_req (void) const |
|
redis_pipeline_message & | get_pipeline_message (void) |
|
|
static void | build_request (size_t argc, const char *argv[], size_t lens[], string &out) |
|
const redis_result * | run (size_t nchild=0, int *timeout=NULL) |
|
void | clear_request (void) |
|
const redis_result ** | scan_keys (const char *cmd, const char *key, int &cursor, size_t &size, const char *pattern, const size_t *count) |
|
const redis_result ** | scan_keys (const char *cmd, const char *key, size_t klen, int &cursor, size_t &size, const char *pattern, const size_t *count) |
|
void | build (const char *cmd, const char *key, const std::map< string, string > &attrs) |
|
void | build (const char *cmd, const char *key, size_t klen, const std::map< string, string > &attrs) |
|
void | build (const char *cmd, const char *key, const std::map< string, const char * > &attrs) |
|
void | build (const char *cmd, const char *key, const std::vector< string > &names, const std::vector< string > &values) |
|
void | build (const char *cmd, const char *key, size_t klen, const std::vector< string > &names, const std::vector< string > &values) |
|
void | build (const char *cmd, const char *key, const std::vector< const char * > &names, const std::vector< const char * > &values) |
|
void | build (const char *cmd, const char *key, const char *names[], const char *values[], size_t argc) |
|
void | build (const char *cmd, const char *key, const int names[], const char *values[], size_t argc) |
|
void | build (const char *cmd, const char *key, const char *names[], const size_t names_len[], const char *values[], const size_t values_len[], size_t argc) |
|
void | build (const char *cmd, const char *key, size_t klen, const char *names[], const size_t names_len[], const char *values[], const size_t values_len[], size_t argc) |
|
void | build (const char *cmd, const char *key, const std::vector< string > &names) |
|
void | build (const char *cmd, const char *key, size_t klen, const std::vector< string > &names) |
|
void | build (const char *cmd, const char *key, const std::vector< const char * > &names) |
|
void | build (const char *cmd, const char *key, const std::vector< int > &names) |
|
void | build (const char *cmd, const char *key, const char *names[], size_t argc) |
|
void | build (const char *cmd, const char *key, const char *names[], const size_t lens[], size_t argc) |
|
void | build (const char *cmd, const char *key, size_t klen, const char *names[], const size_t lens[], size_t argc) |
|
void | build (const char *cmd, const char *key, const int names[], size_t argc) |
|
int | get_number (bool *success=NULL) |
|
long long int | get_number64 (bool *success=NULL) |
|
int | get_number (std::vector< int > &out) |
|
int | get_number64 (std::vector< long long int > &out) |
|
bool | check_status (const char *success="OK") |
|
int | get_status (std::vector< bool > &out) |
|
const char * | get_status (void) |
|
int | get_string (string &buf) |
|
int | get_string (string *buf) |
|
int | get_string (char *buf, size_t size) |
|
int | get_strings (std::vector< string > &result) |
|
int | get_strings (std::vector< string > *result) |
|
int | get_strings (std::list< string > &result) |
|
int | get_strings (std::list< string > *result) |
|
int | get_strings (std::map< string, string > &result) |
|
int | get_strings (std::vector< string > &names, std::vector< string > &values) |
|
int | get_strings (std::vector< const char * > &names, std::vector< const char * > &values) |
|
void | argv_space (size_t n) |
|
void | build_request1 (size_t argc, const char *argv[], size_t lens[]) |
|
void | build_request2 (size_t argc, const char *argv[], size_t lens[]) |
|
void | logger_result (const redis_result *result) |
|
| noncopyable () |
|
| ~noncopyable () |
|
dbuf_pool * | dbuf_ |
|
bool | check_addr_ |
|
char | addr_ [32] |
|
redis_client * | conn_ |
|
redis_client_cluster * | cluster_ |
|
redis_client_pipeline * | pipeline_ |
|
bool | pipe_use_mbox_ |
|
int | slot_ |
|
int | redirect_max_ |
|
int | redirect_sleep_ |
|
bool | slice_req_ |
|
string * | request_buf_ |
|
redis_request * | request_obj_ |
|
size_t | argv_size_ |
|
const char ** | argv_ |
|
size_t * | argv_lens_ |
|
size_t | argc_ |
|
bool | slice_res_ |
|
redis_pipeline_message * | pipe_msg_ |
|
const redis_result * | result_ |
|