docs: public void updateCache() {
  
          synchronized (partitions) {
  
              if (partitions.isEmpty()) {
                  this.slotCache = EMPTY;
                  this.nodeReadView = Collections.emptyList();
                  return;
              }
  
              RedisClusterNode[] slotCache = new RedisClusterNode[SlotHash.SLOT_COUNT];
              List<RedisClusterNode> readView = new ArrayList<>(partitions.size());
  
              for (RedisClusterNode partition : partitions) {
  
                  readView.add(partition);
                  for (Integer integer : partition.getSlots()) {
                      slotCache[integer.intValue()] = partition;
                  }
              }
  
              this.slotCache = slotCache;
              this.nodeReadView = Collections.unmodifiableCollection(readView);
          }
      }