We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27c37ad commit a05f1bcCopy full SHA for a05f1bc
1 file changed
src/main/java/redis/clients/jedis/CommandArguments.java
@@ -151,7 +151,14 @@ public CommandArguments key(Object key) {
151
return this;
152
}
153
154
- protected final CommandArguments addHashSlotKey(Object key) {
+ final CommandArguments addHashSlotKey(String key) {
155
+ keys.add(key);
156
+ // Invalidate cached hash slots since keys have changed
157
+ cachedHashSlots = null;
158
+ return this;
159
+ }
160
+
161
+ final CommandArguments addHashSlotKey(byte[] key) {
162
keys.add(key);
163
// Invalidate cached hash slots since keys have changed
164
cachedHashSlots = null;
0 commit comments