Class RateLimitingThrottlingStrategy<T extends Request>

java.lang.Object
com.linecorp.armeria.server.throttling.ThrottlingStrategy<T>
com.linecorp.armeria.server.throttling.RateLimitingThrottlingStrategy<T>

public final class RateLimitingThrottlingStrategy<T extends Request>
extends ThrottlingStrategy<T>
A ThrottlingStrategy that provides a throttling strategy based on QPS. The throttling works by examining the number of requests from the beginning, and throttling if the QPS is found exceed the specified tolerable maximum.