public OutlierDetectionBuilder counterUpdateInterval(Duration counterUpdateInterval) {
        requireNonNull(counterUpdateInterval, "counterUpdateInterval");
        checkArgument(!counterUpdateInterval.isNegative() && !counterUpdateInterval.isZero(),
                      "counterUpdateInterval: %s (expected: > 0)", counterUpdateInterval);
        this.counterUpdateInterval = counterUpdateInterval;
        return this;
    }
Sets the interval that an {@link OutlierDetector} can see the latest accumulated count of events.
Defaults to {@value #DEFAULT_COUNTER_UPDATE_INTERVAL_SECONDS} second if unspecified.
core/src/main/java/com/linecorp/armeria/common/outlier/OutlierDetectionBuilder.java