Merge branch 'support-cluster-slots' of https://github.com/HeartSaVioR/jedis into HeartSaVioR-support-cluster-slots

This commit is contained in:
Jungtaek Lim
2014-08-12 09:48:53 +09:00
5 changed files with 45 additions and 0 deletions

View File

@@ -3489,6 +3489,13 @@ public class Jedis extends BinaryJedis implements JedisCommands,
client.clusterFailover();
return client.getStatusCodeReply();
}
@Override
public List<Object> clusterSlots() {
checkIsInMulti();
client.clusterSlots();
return client.getObjectMultiBulkReply();
}
public String asking() {
checkIsInMulti();