xRedis API  1.5.0
The C++ Client API for Redis server
 All Classes
Public Member Functions | Static Public Member Functions | List of all members
xrc::xRedisClusterManager Class Reference

Public Member Functions

bool connectCluster (const ClusterInfo *cluster_info)
void keepalive ()
bool commandArgv (const VSTRING &vDataIn, RedisResult &result)
bool command (RedisResult &result, const char *format, const char *key, va_list args)
RedisConnectionget_cluster_info (ClusterInfo &ClusterInfo)
bool check_cluster_info (ClusterInfo &cinfo)
void bfree ()
void freeConnection (RedisConnection *pRedis)
bool release ()

Static Public Member Functions

static bool auth (redisContext *c, const std::string &pass)
static bool Sort_asc (const NodeInfo &a, const NodeInfo &b)
static bool clusterEnabled (redisContext *ctx)
static bool clusterState (redisContext *ctx)
static bool clusterNodes (redisContext *ctx, ClusterInfo *info)
static xRedisClusterManagerconnectRedis (const std::string &host, uint32_t port, const std::string &pass, uint32_t poolsize, ClusterInfo *&info)

The documentation for this class was generated from the following files:

Generated on Mon Mar 21 2022 10:57:13 for xRedis API version 1.5.0.