| Package | Description |
|---|---|
| com.linecorp.armeria.client.limit |
Limits the number of executed
Requests. |
| Modifier and Type | Method and Description |
|---|---|
static Function<? super HttpClient,ConcurrencyLimitingHttpClient> |
ConcurrencyLimitingHttpClient.newDecorator(int maxConcurrency)
Creates a new
HttpClient decorator that limits the concurrent number of active HTTP requests. |
static Function<? super HttpClient,ConcurrencyLimitingHttpClient> |
ConcurrencyLimitingHttpClient.newDecorator(int maxConcurrency,
long timeout,
TimeUnit unit)
Creates a new
HttpClient decorator that limits the concurrent number of active HTTP requests. |
Copyright © 2020 LeanCloud. All rights reserved.