From 1ee8901167fb4394aeb194700afdcc0076f20a38 Mon Sep 17 00:00:00 2001 From: Gabriel Erzse Date: Mon, 25 Mar 2024 14:42:50 +0200 Subject: [PATCH] Undo script commands changes --- src/main/java/redis/clients/jedis/PipeliningBase.java | 10 ---------- .../jedis/commands/SampleKeyedPipelineCommands.java | 6 ------ 2 files changed, 16 deletions(-) diff --git a/src/main/java/redis/clients/jedis/PipeliningBase.java b/src/main/java/redis/clients/jedis/PipeliningBase.java index 92bd18f322..b35d1fd423 100644 --- a/src/main/java/redis/clients/jedis/PipeliningBase.java +++ b/src/main/java/redis/clients/jedis/PipeliningBase.java @@ -1606,21 +1606,11 @@ public Response> scriptExists(String sampleKey, String... sha1) { return appendCommand(commandObjects.scriptExists(sampleKey, sha1)); } - @Override - public Response scriptLoad(String script) { - return appendCommand(commandObjects.scriptLoad(script)); - } - @Override public Response scriptLoad(String script, String sampleKey) { return appendCommand(commandObjects.scriptLoad(script, sampleKey)); } - @Override - public Response scriptFlush() { - return appendCommand(commandObjects.scriptFlush()); - } - @Override public Response scriptFlush(String sampleKey) { return appendCommand(commandObjects.scriptFlush(sampleKey)); diff --git a/src/main/java/redis/clients/jedis/commands/SampleKeyedPipelineCommands.java b/src/main/java/redis/clients/jedis/commands/SampleKeyedPipelineCommands.java index bd10987689..d0c3b70d75 100644 --- a/src/main/java/redis/clients/jedis/commands/SampleKeyedPipelineCommands.java +++ b/src/main/java/redis/clients/jedis/commands/SampleKeyedPipelineCommands.java @@ -19,17 +19,11 @@ public interface SampleKeyedPipelineCommands { Response> scriptExists(String sampleKey, String... sha1); - Response scriptLoad(String script); - Response scriptLoad(String script, String sampleKey); - Response scriptFlush(); - Response scriptFlush(String sampleKey); Response scriptFlush(String sampleKey, FlushMode flushMode); - Response scriptKill(); - Response scriptKill(String sampleKey); }