diff options
author | michael-grunder <michael.grunder@gmail.com> | 2014-06-11 23:45:09 +0400 |
---|---|---|
committer | michael-grunder <michael.grunder@gmail.com> | 2015-05-06 00:55:48 +0300 |
commit | cd87c04a21514f7d95f9913840f65cfb4b1a623e (patch) | |
tree | 6e168b658162739d2d7f3ecf4007287ad653e4dd /redis_commands.h | |
parent | ab429f5d98e40a9e3138ed9b0db2876c382c3cb9 (diff) |
Created cluster specific option handling
Added distribution option to RedisCluster in preperation for
implementation of commands which can be distributed by the client.
The two distribution modes will be:
* DIST_OOE : Maintain order of execution
* DIST_SPEED : Most efficient delivery
Either way, the RedisCluster object will need to return values that
were gathered in the same way they were sent in, but might execute
them in a different order if the option is set to DIST_SPEED.
Diffstat (limited to 'redis_commands.h')
-rw-r--r-- | redis_commands.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redis_commands.h b/redis_commands.h index 8e189088..f02d7941 100644 --- a/redis_commands.h +++ b/redis_commands.h @@ -181,9 +181,9 @@ int redis_sdiffstore_cmd(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock, * depending if this is a Redis object or a RedisCluster object. */ void redis_getoption_handler(INTERNAL_FUNCTION_PARAMETERS, - RedisSock *redis_sock); + RedisSock *redis_sock, redisCluster *c); void redis_setoption_handler(INTERNAL_FUNCTION_PARAMETERS, - RedisSock *redis_sock); + RedisSock *redis_sock, redisCluster *c); void redis_prefix_handler(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock); void redis_serialize_handler(INTERNAL_FUNCTION_PARAMETERS, |