@@ -0,0 +1,771 @@
+// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.%0Apackage ai.vespa.feed.client;%0A%0Aimport java.util.concurrent.CompletableFuture;%0A%0A/**%0A * Determines the number of requests to have inflight at any point.%0A *%0A * @author jonmv%0A */%0Ainterface Throttler %7B%0A%0A    /**%0A     * A request was just sent with %7B@code vessel%7D, with %7B@code inflight%7D total in flight.%0A     */%0A    void sent(long inflight, CompletableFuture%3CHttpResponse%3E vessel);%0A%0A    /**%0A     * A successful response was obtained.%0A     */%0A    void success();%0A%0A    /**%0A     * A throttle signal was obtained from the server.%0A     */%0A    void throttled(long inflight);%0A%0A    /**%0A     * The target inflight operations right now.%0A     */%0A    long targetInflight();%0A%0A%7D%0A

Add interface that was moved up