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