diff --git a/src/main/java/io/vertx/redis/client/Command.java b/src/main/java/io/vertx/redis/client/Command.java index 8d3c1245..265dc3bb 100644 --- a/src/main/java/io/vertx/redis/client/Command.java +++ b/src/main/java/io/vertx/redis/client/Command.java @@ -416,4 +416,8 @@ public interface Command { static Command create(String command) { return new CommandImpl(command, -1, null, false, true); } + + static Command create(String command, int arity, Boolean readOnly, boolean pubsub, boolean needGetKeys) { + return new CommandImpl(command, arity, readOnly, pubsub, needGetKeys); + } }