code: public CircuitBreakerBuilder counterSlidingWindow(Duration counterSlidingWindow) {
          requireNonNull(counterSlidingWindow, "counterSlidingWindow");
          if (counterSlidingWindow.isNegative() || counterSlidingWindow.isZero()) {
              throw new IllegalArgumentException(
                      "counterSlidingWindow: " + counterSlidingWindow + " (expected: > 0)");
          }
          this.counterSlidingWindow = counterSlidingWindow;
          return this;
      }
docs: Sets the time length of sliding window to accumulate the count of events.
  Defaults to {@value Defaults#COUNTER_SLIDING_WINDOW_SECONDS} seconds if unspecified.