From 92cd1f0d06274ffb5f5ea429fb972521ab919712 Mon Sep 17 00:00:00 2001 From: Andrew Carbonetto Date: Tue, 23 Jan 2024 13:00:21 -0800 Subject: [PATCH] Move commands and response handlers to protected locations Signed-off-by: Andrew Carbonetto --- .../main/java/glide/api/commands/Command.java | 24 ------------------- 1 file changed, 24 deletions(-) delete mode 100644 java/client/src/main/java/glide/api/commands/Command.java diff --git a/java/client/src/main/java/glide/api/commands/Command.java b/java/client/src/main/java/glide/api/commands/Command.java deleted file mode 100644 index 8dba62553a..0000000000 --- a/java/client/src/main/java/glide/api/commands/Command.java +++ /dev/null @@ -1,24 +0,0 @@ -package glide.api.commands; - -import lombok.Builder; -import lombok.EqualsAndHashCode; -import lombok.Getter; -import lombok.NonNull; - -/** Base Command class to send a single request to Redis. */ -@Builder -@Getter -@EqualsAndHashCode -public class Command { - - /** Redis command request type */ - @NonNull final RequestType requestType; - - /** List of Arguments for the Redis command request */ - @Builder.Default final String[] arguments = new String[] {}; - - public enum RequestType { - /** Call a custom command with list of string arguments */ - CUSTOM_COMMAND, - } -}