docs: @Override
      public ShardedRedisCounter setCounterFactory(AbstractCounterFactory counterFactory) {
          if (counterFactory instanceof ShardedRedisCounterFactory) {
              super.setCounterFactory(counterFactory);
          } else {
              throw new IllegalArgumentException("Argument must be an instance of "
                      + ShardedRedisCounterFactory.class.getName());
          }
          return this;
      }