Implemented BGREWRITEAOF
This commit is contained in:
@@ -519,4 +519,8 @@ public class Client extends Connection {
|
||||
public void bgsave() {
|
||||
sendCommand("BGSAVE");
|
||||
}
|
||||
|
||||
public void bgrewriteaof() {
|
||||
sendCommand("BGREWRITEAOF");
|
||||
}
|
||||
}
|
||||
@@ -612,4 +612,9 @@ public class Jedis {
|
||||
client.bgsave();
|
||||
return client.getStatusCodeReply();
|
||||
}
|
||||
|
||||
public String bgrewriteaof() {
|
||||
client.bgrewriteaof();
|
||||
return client.getStatusCodeReply();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user