add missing command to Transaction, BinaryTransaction and Pipeline

This commit is contained in:
Jonathan Leibiusky
2011-12-23 12:31:32 -03:00
parent 6f4a32d2a1
commit 72ca494362
9 changed files with 235 additions and 44 deletions

View File

@@ -643,12 +643,12 @@ public class BinaryClient extends Connection {
sendCommand(SLAVEOF, NO.raw, ONE.raw);
}
public void configGet(final String pattern) {
sendCommand(CONFIG, Keyword.GET.name(), pattern);
public void configGet(final byte[] pattern) {
sendCommand(CONFIG, Keyword.GET.raw, pattern);
}
public void configSet(final String parameter, final String value) {
sendCommand(CONFIG, Keyword.SET.name(), parameter, value);
public void configSet(final byte[] parameter, final byte[] value) {
sendCommand(CONFIG, Keyword.SET.raw, parameter, value);
}
public void strlen(final byte[] key) {