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