docs: static <K, V> Map<Integer, List<K>> partition(RedisCodec<K, V> codec, Iterable<K> keys) {
  
          Map<Integer, List<K>> partitioned = new HashMap<>();
          for (K key : keys) {
              int slot = getSlot(codec.encodeKey(key));
              if (!partitioned.containsKey(slot)) {
                  partitioned.put(slot, new ArrayList<>());
              }
              Collection<K> list = partitioned.get(slot);
              list.add(key);
          }
          return partitioned;
      }