Object commands are supported

This commit is contained in:
ivowiblo
2012-04-19 00:32:23 -04:00
parent be163acd52
commit d102ccf1b9
9 changed files with 136 additions and 3 deletions

View File

@@ -3006,4 +3006,19 @@ public class BinaryJedis implements BinaryJedisCommands {
public Long getDB() {
return client.getDB();
}
public Long objectRefcount(byte[] key) {
client.objectRefcount(key);
return client.getIntegerReply();
}
public byte[] objectEncoding(byte[] key) {
client.objectEncoding(key);
return client.getBinaryBulkReply();
}
public Long objectIdletime(byte[] key) {
client.objectIdletime(key);
return client.getIntegerReply();
}
}