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

@@ -2688,5 +2688,20 @@ public class Jedis extends BinaryJedis implements JedisCommands {
public String configSet(final String parameter, final String value) {
client.configSet(parameter, value);
return client.getStatusCodeReply();
}
}
public Long objectRefcount(String string) {
client.objectRefcount(string);
return client.getIntegerReply();
}
public String objectEncoding(String string) {
client.objectEncoding(string);
return client.getBulkReply();
}
public Long objectIdletime(String string) {
client.objectIdletime(string);
return client.getIntegerReply();
}
}