Add CLUSTER MEET command

This commit is contained in:
Jonathan Leibiusky
2013-12-02 10:01:19 -05:00
parent e7e2bfaedf
commit 403f2b292c
4 changed files with 19 additions and 5 deletions

View File

@@ -3082,4 +3082,10 @@ public class Jedis extends BinaryJedis implements JedisCommands, MultiKeyCommand
client.cluster(Protocol.CLUSTER_NODES);
return client.getBulkReply();
}
public String clusterMeet(final String ip, final int port) {
checkIsInMulti();
client.cluster(Protocol.CLUSTER_MEET, ip, port);
return client.getStatusCodeReply();
}
}