static EventCounter ofSlidingWindow(Duration slidingWindow, Duration updateInterval) {
        return ofSlidingWindow(Ticker.systemTicker(), slidingWindow, updateInterval);
    }
Returns a new {@link EventCounter} that counts events within a sliding window.
core/src/main/java/com/linecorp/armeria/common/util/EventCounter.java