@@ -1625,6 +1625,11 @@ public Response<Long> waitReplicas(String sampleKey, int replicas, long timeout)
16251625 return appendCommand (commandObjects .waitReplicas (sampleKey , replicas , timeout ));
16261626 }
16271627
1628+ @ Override
1629+ public Response <KeyValue <Long , Long >> waitAOF (String sampleKey , long numLocal , long numReplicas , long timeout ) {
1630+ return appendCommand (commandObjects .waitAOF (sampleKey , numLocal , numReplicas , timeout ));
1631+ }
1632+
16281633 @ Override
16291634 public Response <Object > eval (String script , String sampleKey ) {
16301635 return appendCommand (commandObjects .eval (script , sampleKey ));
@@ -2438,6 +2443,11 @@ public Response<Long> waitReplicas(byte[] sampleKey, int replicas, long timeout)
24382443 return appendCommand (commandObjects .waitReplicas (sampleKey , replicas , timeout ));
24392444 }
24402445
2446+ @ Override
2447+ public Response <KeyValue <Long , Long >> waitAOF (byte [] sampleKey , long numLocal , long numReplicas , long timeout ) {
2448+ return appendCommand (commandObjects .waitAOF (sampleKey , numLocal , numReplicas , timeout ));
2449+ }
2450+
24412451 @ Override
24422452 public Response <Object > eval (byte [] script , byte [] sampleKey ) {
24432453 return appendCommand (commandObjects .eval (script , sampleKey ));
@@ -4227,6 +4237,10 @@ public Response<Long> waitReplicas(int replicas, long timeout) {
42274237 return appendCommand (commandObjects .waitReplicas (replicas , timeout ));
42284238 }
42294239
4240+ public Response <KeyValue <Long , Long >> waitAOF (long numLocal , long numReplicas , long timeout ) {
4241+ return appendCommand (commandObjects .waitAOF (numLocal , numReplicas , timeout ));
4242+ }
4243+
42304244 public Response <List <String >> time () {
42314245 return appendCommand (new CommandObject <>(commandObjects .commandArguments (Protocol .Command .TIME ), BuilderFactory .STRING_LIST ));
42324246 }
0 commit comments