Skip to content

Commit f99f388

Browse files
authored
'double' timeout parameter for BLMPOP and BZMPOP (#3444)
1 parent c0c2ce2 commit f99f388

14 files changed

+59
-56
lines changed

docs/jedis5-breaking.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@
5757

5858
- `getParams()` method is removed from `SortingParams` class.
5959

60+
- All variants of `blmpop` and `bzmpop` methods now take `double timeout` parameter instead of `long timeout` parameter.
61+
This is breaking ONLY IF you are using `Long` for timeout.
62+
6063
<!--- Deprecated in Jedis 4 --->
6164

6265
- `quit()` method has been removed from `Connection` and `ServerCommands` interface and implementations.

src/main/java/redis/clients/jedis/CommandObjects.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -940,12 +940,12 @@ public final CommandObject<KeyValue<String, List<String>>> lmpop(ListDirection d
940940
.add(direction).add(COUNT).add(count), BuilderFactory.KEYED_STRING_LIST);
941941
}
942942

943-
public final CommandObject<KeyValue<String, List<String>>> blmpop(long timeout, ListDirection direction, String... keys) {
943+
public final CommandObject<KeyValue<String, List<String>>> blmpop(double timeout, ListDirection direction, String... keys) {
944944
return new CommandObject<>(commandArguments(BLMPOP).blocking().add(timeout)
945945
.add(keys.length).keys((Object[]) keys).add(direction), BuilderFactory.KEYED_STRING_LIST);
946946
}
947947

948-
public final CommandObject<KeyValue<String, List<String>>> blmpop(long timeout, ListDirection direction, int count, String... keys) {
948+
public final CommandObject<KeyValue<String, List<String>>> blmpop(double timeout, ListDirection direction, int count, String... keys) {
949949
return new CommandObject<>(commandArguments(BLMPOP).blocking().add(timeout)
950950
.add(keys.length).keys((Object[]) keys).add(direction).add(COUNT).add(count),
951951
BuilderFactory.KEYED_STRING_LIST);
@@ -961,12 +961,12 @@ public final CommandObject<KeyValue<byte[], List<byte[]>>> lmpop(ListDirection d
961961
.add(direction).add(COUNT).add(count), BuilderFactory.KEYED_BINARY_LIST);
962962
}
963963

964-
public final CommandObject<KeyValue<byte[], List<byte[]>>> blmpop(long timeout, ListDirection direction, byte[]... keys) {
964+
public final CommandObject<KeyValue<byte[], List<byte[]>>> blmpop(double timeout, ListDirection direction, byte[]... keys) {
965965
return new CommandObject<>(commandArguments(BLMPOP).blocking().add(timeout)
966966
.add(keys.length).keys((Object[]) keys).add(direction), BuilderFactory.KEYED_BINARY_LIST);
967967
}
968968

969-
public final CommandObject<KeyValue<byte[], List<byte[]>>> blmpop(long timeout, ListDirection direction, int count, byte[]... keys) {
969+
public final CommandObject<KeyValue<byte[], List<byte[]>>> blmpop(double timeout, ListDirection direction, int count, byte[]... keys) {
970970
return new CommandObject<>(commandArguments(BLMPOP).blocking().add(timeout)
971971
.add(keys.length).keys((Object[]) keys).add(direction).add(COUNT).add(count),
972972
BuilderFactory.KEYED_BINARY_LIST);
@@ -1943,12 +1943,12 @@ public final CommandObject<KeyValue<String, List<Tuple>>> zmpop(SortedSetOption
19431943
.add(option).add(COUNT).add(count), BuilderFactory.KEYED_TUPLE_LIST);
19441944
}
19451945

1946-
public final CommandObject<KeyValue<String, List<Tuple>>> bzmpop(long timeout, SortedSetOption option, String... keys) {
1946+
public final CommandObject<KeyValue<String, List<Tuple>>> bzmpop(double timeout, SortedSetOption option, String... keys) {
19471947
return new CommandObject<>(commandArguments(BZMPOP).blocking().add(timeout).add(keys.length)
19481948
.keys((Object[]) keys).add(option), BuilderFactory.KEYED_TUPLE_LIST);
19491949
}
19501950

1951-
public final CommandObject<KeyValue<String, List<Tuple>>> bzmpop(long timeout, SortedSetOption option, int count, String... keys) {
1951+
public final CommandObject<KeyValue<String, List<Tuple>>> bzmpop(double timeout, SortedSetOption option, int count, String... keys) {
19521952
return new CommandObject<>(commandArguments(BZMPOP).blocking().add(timeout).add(keys.length)
19531953
.keys((Object[]) keys).add(option).add(COUNT).add(count), BuilderFactory.KEYED_TUPLE_LIST);
19541954
}
@@ -1963,12 +1963,12 @@ public final CommandObject<KeyValue<byte[], List<Tuple>>> zmpop(SortedSetOption
19631963
.add(option).add(COUNT).add(count), BuilderFactory.BINARY_KEYED_TUPLE_LIST);
19641964
}
19651965

1966-
public final CommandObject<KeyValue<byte[], List<Tuple>>> bzmpop(long timeout, SortedSetOption option, byte[]... keys) {
1966+
public final CommandObject<KeyValue<byte[], List<Tuple>>> bzmpop(double timeout, SortedSetOption option, byte[]... keys) {
19671967
return new CommandObject<>(commandArguments(BZMPOP).blocking().add(timeout).add(keys.length)
19681968
.keys((Object[]) keys).add(option), BuilderFactory.BINARY_KEYED_TUPLE_LIST);
19691969
}
19701970

1971-
public final CommandObject<KeyValue<byte[], List<Tuple>>> bzmpop(long timeout, SortedSetOption option, int count, byte[]... keys) {
1971+
public final CommandObject<KeyValue<byte[], List<Tuple>>> bzmpop(double timeout, SortedSetOption option, int count, byte[]... keys) {
19721972
return new CommandObject<>(commandArguments(BZMPOP).blocking().add(timeout).add(keys.length)
19731973
.keys((Object[]) keys).add(option).add(COUNT).add(count), BuilderFactory.BINARY_KEYED_TUPLE_LIST);
19741974
}

src/main/java/redis/clients/jedis/Jedis.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2620,13 +2620,13 @@ public KeyValue<byte[], List<byte[]>> lmpop(ListDirection direction, int count,
26202620
}
26212621

26222622
@Override
2623-
public KeyValue<byte[], List<byte[]>> blmpop(long timeout, ListDirection direction, byte[]... keys) {
2623+
public KeyValue<byte[], List<byte[]>> blmpop(double timeout, ListDirection direction, byte[]... keys) {
26242624
checkIsInMultiOrPipeline();
26252625
return connection.executeCommand(commandObjects.blmpop(timeout, direction, keys));
26262626
}
26272627

26282628
@Override
2629-
public KeyValue<byte[], List<byte[]>> blmpop(long timeout, ListDirection direction, int count, byte[]... keys) {
2629+
public KeyValue<byte[], List<byte[]>> blmpop(double timeout, ListDirection direction, int count, byte[]... keys) {
26302630
checkIsInMultiOrPipeline();
26312631
return connection.executeCommand(commandObjects.blmpop(timeout, direction, count, keys));
26322632
}
@@ -3290,13 +3290,13 @@ public KeyValue<byte[], List<Tuple>> zmpop(SortedSetOption option, int count, by
32903290
}
32913291

32923292
@Override
3293-
public KeyValue<byte[], List<Tuple>> bzmpop(long timeout, SortedSetOption option, byte[]... keys) {
3293+
public KeyValue<byte[], List<Tuple>> bzmpop(double timeout, SortedSetOption option, byte[]... keys) {
32943294
checkIsInMultiOrPipeline();
32953295
return connection.executeCommand(commandObjects.bzmpop(timeout, option, keys));
32963296
}
32973297

32983298
@Override
3299-
public KeyValue<byte[], List<Tuple>> bzmpop(long timeout, SortedSetOption option, int count, byte[]... keys) {
3299+
public KeyValue<byte[], List<Tuple>> bzmpop(double timeout, SortedSetOption option, int count, byte[]... keys) {
33003300
checkIsInMultiOrPipeline();
33013301
return connection.executeCommand(commandObjects.bzmpop(timeout, option, count, keys));
33023302
}
@@ -7018,13 +7018,13 @@ public KeyValue<String, List<String>> lmpop(ListDirection direction, int count,
70187018
}
70197019

70207020
@Override
7021-
public KeyValue<String, List<String>> blmpop(long timeout, ListDirection direction, String... keys) {
7021+
public KeyValue<String, List<String>> blmpop(double timeout, ListDirection direction, String... keys) {
70227022
checkIsInMultiOrPipeline();
70237023
return connection.executeCommand(commandObjects.blmpop(timeout, direction, keys));
70247024
}
70257025

70267026
@Override
7027-
public KeyValue<String, List<String>> blmpop(long timeout, ListDirection direction, int count, String... keys) {
7027+
public KeyValue<String, List<String>> blmpop(double timeout, ListDirection direction, int count, String... keys) {
70287028
checkIsInMultiOrPipeline();
70297029
return connection.executeCommand(commandObjects.blmpop(timeout, direction, count, keys));
70307030
}
@@ -7679,13 +7679,13 @@ public KeyValue<String, List<Tuple>> zmpop(SortedSetOption option, int count, St
76797679
}
76807680

76817681
@Override
7682-
public KeyValue<String, List<Tuple>> bzmpop(long timeout, SortedSetOption option, String... keys) {
7682+
public KeyValue<String, List<Tuple>> bzmpop(double timeout, SortedSetOption option, String... keys) {
76837683
checkIsInMultiOrPipeline();
76847684
return connection.executeCommand(commandObjects.bzmpop(timeout, option, keys));
76857685
}
76867686

76877687
@Override
7688-
public KeyValue<String, List<Tuple>> bzmpop(long timeout, SortedSetOption option, int count, String... keys) {
7688+
public KeyValue<String, List<Tuple>> bzmpop(double timeout, SortedSetOption option, int count, String... keys) {
76897689
checkIsInMultiOrPipeline();
76907690
return connection.executeCommand(commandObjects.bzmpop(timeout, option, count, keys));
76917691
}

src/main/java/redis/clients/jedis/PipelineBase.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -616,12 +616,12 @@ public Response<KeyValue<String, List<String>>> lmpop(ListDirection direction, i
616616
}
617617

618618
@Override
619-
public Response<KeyValue<String, List<String>>> blmpop(long timeout, ListDirection direction, String... keys) {
619+
public Response<KeyValue<String, List<String>>> blmpop(double timeout, ListDirection direction, String... keys) {
620620
return appendCommand(commandObjects.blmpop(timeout, direction, keys));
621621
}
622622

623623
@Override
624-
public Response<KeyValue<String, List<String>>> blmpop(long timeout, ListDirection direction, int count, String... keys) {
624+
public Response<KeyValue<String, List<String>>> blmpop(double timeout, ListDirection direction, int count, String... keys) {
625625
return appendCommand(commandObjects.blmpop(timeout, direction, count, keys));
626626
}
627627

@@ -1126,12 +1126,12 @@ public Response<KeyValue<String, List<Tuple>>> zmpop(SortedSetOption option, int
11261126
}
11271127

11281128
@Override
1129-
public Response<KeyValue<String, List<Tuple>>> bzmpop(long timeout, SortedSetOption option, String... keys) {
1129+
public Response<KeyValue<String, List<Tuple>>> bzmpop(double timeout, SortedSetOption option, String... keys) {
11301130
return appendCommand(commandObjects.bzmpop(timeout, option, keys));
11311131
}
11321132

11331133
@Override
1134-
public Response<KeyValue<String, List<Tuple>>> bzmpop(long timeout, SortedSetOption option, int count, String... keys) {
1134+
public Response<KeyValue<String, List<Tuple>>> bzmpop(double timeout, SortedSetOption option, int count, String... keys) {
11351135
return appendCommand(commandObjects.bzmpop(timeout, option, count, keys));
11361136
}
11371137

@@ -2366,12 +2366,12 @@ public Response<KeyValue<byte[], List<byte[]>>> lmpop(ListDirection direction, i
23662366
}
23672367

23682368
@Override
2369-
public Response<KeyValue<byte[], List<byte[]>>> blmpop(long timeout, ListDirection direction, byte[]... keys) {
2369+
public Response<KeyValue<byte[], List<byte[]>>> blmpop(double timeout, ListDirection direction, byte[]... keys) {
23702370
return appendCommand(commandObjects.blmpop(timeout, direction, keys));
23712371
}
23722372

23732373
@Override
2374-
public Response<KeyValue<byte[], List<byte[]>>> blmpop(long timeout, ListDirection direction, int count, byte[]... keys) {
2374+
public Response<KeyValue<byte[], List<byte[]>>> blmpop(double timeout, ListDirection direction, int count, byte[]... keys) {
23752375
return appendCommand(commandObjects.blmpop(timeout, direction, count, keys));
23762376
}
23772377

@@ -2866,12 +2866,12 @@ public Response<KeyValue<byte[], List<Tuple>>> zmpop(SortedSetOption option, int
28662866
}
28672867

28682868
@Override
2869-
public Response<KeyValue<byte[], List<Tuple>>> bzmpop(long timeout, SortedSetOption option, byte[]... keys) {
2869+
public Response<KeyValue<byte[], List<Tuple>>> bzmpop(double timeout, SortedSetOption option, byte[]... keys) {
28702870
return appendCommand(commandObjects.bzmpop(timeout, option, keys));
28712871
}
28722872

28732873
@Override
2874-
public Response<KeyValue<byte[], List<Tuple>>> bzmpop(long timeout, SortedSetOption option, int count, byte[]... keys) {
2874+
public Response<KeyValue<byte[], List<Tuple>>> bzmpop(double timeout, SortedSetOption option, int count, byte[]... keys) {
28752875
return appendCommand(commandObjects.bzmpop(timeout, option, count, keys));
28762876
}
28772877

src/main/java/redis/clients/jedis/TransactionBase.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -773,12 +773,12 @@ public Response<KeyValue<String, List<String>>> lmpop(ListDirection direction, i
773773
}
774774

775775
@Override
776-
public Response<KeyValue<String, List<String>>> blmpop(long timeout, ListDirection direction, String... keys) {
776+
public Response<KeyValue<String, List<String>>> blmpop(double timeout, ListDirection direction, String... keys) {
777777
return appendCommand(commandObjects.blmpop(timeout, direction, keys));
778778
}
779779

780780
@Override
781-
public Response<KeyValue<String, List<String>>> blmpop(long timeout, ListDirection direction, int count, String... keys) {
781+
public Response<KeyValue<String, List<String>>> blmpop(double timeout, ListDirection direction, int count, String... keys) {
782782
return appendCommand(commandObjects.blmpop(timeout, direction, count, keys));
783783
}
784784

@@ -1284,12 +1284,12 @@ public Response<KeyValue<String, List<Tuple>>> zmpop(SortedSetOption option, int
12841284
}
12851285

12861286
@Override
1287-
public Response<KeyValue<String, List<Tuple>>> bzmpop(long timeout, SortedSetOption option, String... keys) {
1287+
public Response<KeyValue<String, List<Tuple>>> bzmpop(double timeout, SortedSetOption option, String... keys) {
12881288
return appendCommand(commandObjects.bzmpop(timeout, option, keys));
12891289
}
12901290

12911291
@Override
1292-
public Response<KeyValue<String, List<Tuple>>> bzmpop(long timeout, SortedSetOption option, int count, String... keys) {
1292+
public Response<KeyValue<String, List<Tuple>>> bzmpop(double timeout, SortedSetOption option, int count, String... keys) {
12931293
return appendCommand(commandObjects.bzmpop(timeout, option, count, keys));
12941294
}
12951295

@@ -2529,12 +2529,12 @@ public Response<KeyValue<byte[], List<byte[]>>> lmpop(ListDirection direction, i
25292529
}
25302530

25312531
@Override
2532-
public Response<KeyValue<byte[], List<byte[]>>> blmpop(long timeout, ListDirection direction, byte[]... keys) {
2532+
public Response<KeyValue<byte[], List<byte[]>>> blmpop(double timeout, ListDirection direction, byte[]... keys) {
25332533
return appendCommand(commandObjects.blmpop(timeout, direction, keys));
25342534
}
25352535

25362536
@Override
2537-
public Response<KeyValue<byte[], List<byte[]>>> blmpop(long timeout, ListDirection direction, int count, byte[]... keys) {
2537+
public Response<KeyValue<byte[], List<byte[]>>> blmpop(double timeout, ListDirection direction, int count, byte[]... keys) {
25382538
return appendCommand(commandObjects.blmpop(timeout, direction, count, keys));
25392539
}
25402540

@@ -3033,12 +3033,12 @@ public Response<KeyValue<byte[], List<Tuple>>> zmpop(SortedSetOption option, int
30333033
}
30343034

30353035
@Override
3036-
public Response<KeyValue<byte[], List<Tuple>>> bzmpop(long timeout, SortedSetOption option, byte[]... keys) {
3036+
public Response<KeyValue<byte[], List<Tuple>>> bzmpop(double timeout, SortedSetOption option, byte[]... keys) {
30373037
return appendCommand(commandObjects.bzmpop(timeout, option, keys));
30383038
}
30393039

30403040
@Override
3041-
public Response<KeyValue<byte[], List<Tuple>>> bzmpop(long timeout, SortedSetOption option, int count, byte[]... keys) {
3041+
public Response<KeyValue<byte[], List<Tuple>>> bzmpop(double timeout, SortedSetOption option, int count, byte[]... keys) {
30423042
return appendCommand(commandObjects.bzmpop(timeout, option, count, keys));
30433043
}
30443044

src/main/java/redis/clients/jedis/UnifiedJedis.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1350,12 +1350,12 @@ public KeyValue<String, List<String>> lmpop(ListDirection direction, int count,
13501350
}
13511351

13521352
@Override
1353-
public KeyValue<String, List<String>> blmpop(long timeout, ListDirection direction, String... keys) {
1353+
public KeyValue<String, List<String>> blmpop(double timeout, ListDirection direction, String... keys) {
13541354
return executeCommand(commandObjects.blmpop(timeout, direction, keys));
13551355
}
13561356

13571357
@Override
1358-
public KeyValue<String, List<String>> blmpop(long timeout, ListDirection direction, int count, String... keys) {
1358+
public KeyValue<String, List<String>> blmpop(double timeout, ListDirection direction, int count, String... keys) {
13591359
return executeCommand(commandObjects.blmpop(timeout, direction, count, keys));
13601360
}
13611361

@@ -1370,12 +1370,12 @@ public KeyValue<byte[], List<byte[]>> lmpop(ListDirection direction, int count,
13701370
}
13711371

13721372
@Override
1373-
public KeyValue<byte[], List<byte[]>> blmpop(long timeout, ListDirection direction, byte[]... keys) {
1373+
public KeyValue<byte[], List<byte[]>> blmpop(double timeout, ListDirection direction, byte[]... keys) {
13741374
return executeCommand(commandObjects.blmpop(timeout, direction, keys));
13751375
}
13761376

13771377
@Override
1378-
public KeyValue<byte[], List<byte[]>> blmpop(long timeout, ListDirection direction, int count, byte[]... keys) {
1378+
public KeyValue<byte[], List<byte[]>> blmpop(double timeout, ListDirection direction, int count, byte[]... keys) {
13791379
return executeCommand(commandObjects.blmpop(timeout, direction, count, keys));
13801380
}
13811381
// List commands
@@ -2506,12 +2506,12 @@ public KeyValue<String, List<Tuple>> zmpop(SortedSetOption option, int count, St
25062506
}
25072507

25082508
@Override
2509-
public KeyValue<String, List<Tuple>> bzmpop(long timeout, SortedSetOption option, String... keys) {
2509+
public KeyValue<String, List<Tuple>> bzmpop(double timeout, SortedSetOption option, String... keys) {
25102510
return executeCommand(commandObjects.bzmpop(timeout, option, keys));
25112511
}
25122512

25132513
@Override
2514-
public KeyValue<String, List<Tuple>> bzmpop(long timeout, SortedSetOption option, int count, String... keys) {
2514+
public KeyValue<String, List<Tuple>> bzmpop(double timeout, SortedSetOption option, int count, String... keys) {
25152515
return executeCommand(commandObjects.bzmpop(timeout, option, count, keys));
25162516
}
25172517

@@ -2526,12 +2526,12 @@ public KeyValue<byte[], List<Tuple>> zmpop(SortedSetOption option, int count, by
25262526
}
25272527

25282528
@Override
2529-
public KeyValue<byte[], List<Tuple>> bzmpop(long timeout, SortedSetOption option, byte[]... keys) {
2529+
public KeyValue<byte[], List<Tuple>> bzmpop(double timeout, SortedSetOption option, byte[]... keys) {
25302530
return executeCommand(commandObjects.bzmpop(timeout, option, keys));
25312531
}
25322532

25332533
@Override
2534-
public KeyValue<byte[], List<Tuple>> bzmpop(long timeout, SortedSetOption option, int count, byte[]... keys) {
2534+
public KeyValue<byte[], List<Tuple>> bzmpop(double timeout, SortedSetOption option, int count, byte[]... keys) {
25352535
return executeCommand(commandObjects.bzmpop(timeout, option, count, keys));
25362536
}
25372537
// Sorted Set commands

src/main/java/redis/clients/jedis/commands/ListBinaryCommands.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public interface ListBinaryCommands {
6565

6666
KeyValue<byte[], List<byte[]>> lmpop(ListDirection direction, int count, byte[]... keys);
6767

68-
KeyValue<byte[], List<byte[]>> blmpop(long timeout, ListDirection direction, byte[]... keys);
68+
KeyValue<byte[], List<byte[]>> blmpop(double timeout, ListDirection direction, byte[]... keys);
6969

70-
KeyValue<byte[], List<byte[]>> blmpop(long timeout, ListDirection direction, int count, byte[]... keys);
70+
KeyValue<byte[], List<byte[]>> blmpop(double timeout, ListDirection direction, int count, byte[]... keys);
7171
}

src/main/java/redis/clients/jedis/commands/ListCommands.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ public interface ListCommands {
397397

398398
KeyValue<String, List<String>> lmpop(ListDirection direction, int count, String... keys);
399399

400-
KeyValue<String, List<String>> blmpop(long timeout, ListDirection direction, String... keys);
400+
KeyValue<String, List<String>> blmpop(double timeout, ListDirection direction, String... keys);
401401

402-
KeyValue<String, List<String>> blmpop(long timeout, ListDirection direction, int count, String... keys);
402+
KeyValue<String, List<String>> blmpop(double timeout, ListDirection direction, int count, String... keys);
403403
}

src/main/java/redis/clients/jedis/commands/ListPipelineBinaryCommands.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public interface ListPipelineBinaryCommands {
6666

6767
Response<KeyValue<byte[], List<byte[]>>> lmpop(ListDirection direction, int count, byte[]... keys);
6868

69-
Response<KeyValue<byte[], List<byte[]>>> blmpop(long timeout, ListDirection direction, byte[]... keys);
69+
Response<KeyValue<byte[], List<byte[]>>> blmpop(double timeout, ListDirection direction, byte[]... keys);
7070

71-
Response<KeyValue<byte[], List<byte[]>>> blmpop(long timeout, ListDirection direction, int count, byte[]... keys);
71+
Response<KeyValue<byte[], List<byte[]>>> blmpop(double timeout, ListDirection direction, int count, byte[]... keys);
7272
}

src/main/java/redis/clients/jedis/commands/ListPipelineCommands.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public interface ListPipelineCommands {
7474

7575
Response<KeyValue<String, List<String>>> lmpop(ListDirection direction, int count, String... keys);
7676

77-
Response<KeyValue<String, List<String>>> blmpop(long timeout, ListDirection direction, String... keys);
77+
Response<KeyValue<String, List<String>>> blmpop(double timeout, ListDirection direction, String... keys);
7878

79-
Response<KeyValue<String, List<String>>> blmpop(long timeout, ListDirection direction, int count, String... keys);
79+
Response<KeyValue<String, List<String>>> blmpop(double timeout, ListDirection direction, int count, String... keys);
8080
}

0 commit comments

Comments
 (0)