add bgsave
This commit is contained in:
@@ -2876,9 +2876,4 @@ public class BinaryJedis implements BinaryJedisCommands {
|
|||||||
public Client getClient() {
|
public Client getClient() {
|
||||||
return client;
|
return client;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String bgrewriteof() {
|
|
||||||
client.bgrewriteaof();
|
|
||||||
return client.getStatusCodeReply();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -215,4 +215,6 @@ public interface Commands {
|
|||||||
final String pivot, final String value);
|
final String pivot, final String value);
|
||||||
|
|
||||||
public void bgrewriteaof();
|
public void bgrewriteaof();
|
||||||
|
|
||||||
|
public void bgsave();
|
||||||
}
|
}
|
||||||
@@ -2581,9 +2581,4 @@ public class Jedis extends BinaryJedis implements JedisCommands {
|
|||||||
client.linsert(key, where, pivot, value);
|
client.linsert(key, where, pivot, value);
|
||||||
return client.getIntegerReply();
|
return client.getIntegerReply();
|
||||||
}
|
}
|
||||||
|
|
||||||
public String bgrewriteof() {
|
|
||||||
client.bgrewriteaof();
|
|
||||||
return client.getStatusCodeReply();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
@@ -410,4 +410,8 @@ public class Pipeline implements Commands {
|
|||||||
public void bgrewriteaof() {
|
public void bgrewriteaof() {
|
||||||
client.bgrewriteaof();
|
client.bgrewriteaof();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void bgsave() {
|
||||||
|
client.bgsave();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -406,5 +406,9 @@ public abstract class PipelineBlock implements Commands {
|
|||||||
client.bgrewriteaof();
|
client.bgrewriteaof();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void bgsave() {
|
||||||
|
client.bgsave();
|
||||||
|
}
|
||||||
|
|
||||||
public abstract void execute();
|
public abstract void execute();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user