Object commands are supported
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user