Skip to content

Commit

Permalink
Add to app
Browse files Browse the repository at this point in the history
Signed-off-by: acarbonetto <[email protected]>
  • Loading branch information
acarbonetto committed Oct 11, 2023
1 parent 111fc26 commit 9236e9a
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
import java.util.Arrays;
import java.util.Optional;
import java.util.stream.Stream;
import javababushka.benchmarks.clients.JedisClient;
import javababushka.benchmarks.clients.JedisPseudoAsyncClient;
import javababushka.benchmarks.clients.LettuceAsyncClient;
import javababushka.benchmarks.clients.LettuceClient;
import org.apache.commons.cli.CommandLine;
Expand Down Expand Up @@ -48,11 +50,11 @@ public static void main(String[] args) {
switch (client) {
case JEDIS:
// run testClientSetGet on JEDIS sync client
System.out.println("Run JEDIS sync client");
testClientSetGet(JedisClient::new, runConfiguration, false);
break;
case JEDIS_ASYNC:
// run testClientSetGet on JEDIS pseudo-async client
System.out.println("Run JEDIS pseudo-async client");
testClientSetGet(JedisPseudoAsyncClient::new, runConfiguration, true);
break;
case LETTUCE:
testClientSetGet(LettuceClient::new, runConfiguration, false);
Expand Down

0 comments on commit 9236e9a

Please sign in to comment.