Conflicts:
	lib_acl_cpp/include/acl_cpp/redis/redis_list.hpp
This commit is contained in:
ubuntu14 2015-01-28 08:39:32 -08:00
commit 87a2693893

View File

@ -28,6 +28,7 @@ public:
* 1
* 2 key
* 3key
<<<<<<< HEAD
*/
bool blpop(std::pair<string, string>& result, size_t timeout,
@ -73,6 +74,53 @@ public:
*/
bool lindex(const char* key, size_t idx, string& buf);
=======
*/
bool blpop(std::pair<string, string>& result, size_t timeout,
const char* first_key, ...);
bool blpop(const std::vector<const char*>& keys, size_t timeout,
std::pair<string, string>& result);
bool blpop(const std::vector<string>& keys, size_t timeout,
std::pair<string, string>& result);
/**
* blpop
* @sess blpop
*/
bool brpop(std::pair<string, string>& result, size_t timeout,
const char* first_key, ...);
bool brpop(const std::vector<const char*>& keys, size_t timeout,
std::pair<string, string>& result);
bool brpop(const std::vector<string>& keys, size_t timeout,
std::pair<string, string>& result);
/**
*
* 1) src ()
* 2) src dst dst
* @param src {const char*} key
* @param dst {const char*} key
* @param buf {string*} src key
* @param timeout {size_t} 0
* @return {bool} src dst
* true false src/dst
* @see rpoplpush
*/
bool brpoplpush(const char* src, const char* dst, size_t timeout,
string* buf = NULL);
/**
* key
* @param key {const char*} key
* @param idx {size_t}
* @param buf {string&}
* @return {bool} true buf
* buf.empty() false
*/
bool lindex(const char* key, size_t idx, string& buf);
>>>>>>> 13bcb6aefb2b0971c698670ea8622b3d8208ca46
/**
*
* @param key {const char*} key
@ -129,7 +177,11 @@ public:
int lpush(const char* key, const char* values[], size_t argc);
int lpush(const char* key, const std::vector<string>& values);
int lpush(const char* key, const std::vector<const char*>& values);
<<<<<<< HEAD
int lpush(const char* key, const char* values[], const size_t lens[],
=======
int lpush(const char* key, const char* values[], size_t lens[],
>>>>>>> 13bcb6aefb2b0971c698670ea8622b3d8208ca46
size_t argc);
/**
@ -219,6 +271,7 @@ public:
* true false src/dst
*/
bool rpoplpush(const char* src, const char* dst, string* buf = NULL);
<<<<<<< HEAD
/**
* key
@ -236,6 +289,25 @@ public:
size_t argc);
/**
=======
/**
* key
* @param key {const char*} key
* @param first_value {const char*}
* NULL
* @return {int} -1 key
* key
*/
int rpush(const char* key, const char* first_value, ...);
int rpush(const char* key, const char* values[], size_t argc);
int rpush(const char* key, const std::vector<string>& values);
int rpush(const char* key, const std::vector<const char*>& values);
int rpush(const char* key, const char* values[], size_t lens[],
size_t argc);
/**
>>>>>>> 13bcb6aefb2b0971c698670ea8622b3d8208ca46
*
*
* @param key {const char*} key