code: public CircuitBreakerBuilder counterUpdateInterval(Duration counterUpdateInterval) {
          requireNonNull(counterUpdateInterval, "counterUpdateInterval");
          if (counterUpdateInterval.isNegative() || counterUpdateInterval.isZero()) {
              throw new IllegalArgumentException(
                      "counterUpdateInterval: " + counterUpdateInterval + " (expected: > 0)");
          }
          this.counterUpdateInterval = counterUpdateInterval;
          return this;
      }
docs: Sets the interval that a circuit breaker can see the latest accumulated count of events.
  Defaults to {@value Defaults#COUNTER_UPDATE_INTERVAL_SECONDS} second if unspecified.