Slowlog commands. The unit test is failing.

This commit is contained in:
ivowiblo
2012-04-19 02:53:26 -04:00
parent be163acd52
commit d5c2b9965c
8 changed files with 155 additions and 3 deletions

View File

@@ -3006,4 +3006,23 @@ public class BinaryJedis implements BinaryJedisCommands {
public Long getDB() {
return client.getDB();
}
public void slowlogReset() {
client.slowlogReset();
}
public long slowlogLen() {
client.slowlogLen();
return client.getIntegerReply();
}
public List<byte[]> slowlogGetBinary() {
client.slowlogGet();
return client.getBinaryMultiBulkReply();
}
public List<byte[]> slowlogGetBinary(long entries) {
client.slowlogGet(entries);
return client.getBinaryMultiBulkReply();
}
}