From 9236e9a4d09434a0a6cf808ad83be859d684aa1b Mon Sep 17 00:00:00 2001 From: acarbonetto Date: Tue, 10 Oct 2023 10:00:29 -0700 Subject: [PATCH] Add to app Signed-off-by: acarbonetto --- .../main/java/javababushka/benchmarks/BenchmarkingApp.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/java/benchmarks/src/main/java/javababushka/benchmarks/BenchmarkingApp.java b/java/benchmarks/src/main/java/javababushka/benchmarks/BenchmarkingApp.java index 9756115cc1..a94438e96d 100644 --- a/java/benchmarks/src/main/java/javababushka/benchmarks/BenchmarkingApp.java +++ b/java/benchmarks/src/main/java/javababushka/benchmarks/BenchmarkingApp.java @@ -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; @@ -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);