| 程序包 | 说明 |
|---|---|
| org.apache.hc.client5.http.impl.classic |
Classic HTTP client API implementation that supports HTTP/1.1 transport
only.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
AbstractBackoff
AbstractBackoff is an abstract class that provides a common implementation for managing
backoff behavior in HttpClient connection pool.
|
class |
AIMDBackoffManager
The
AIMDBackoffManager applies an additive increase,
multiplicative decrease (AIMD) to managing a dynamic limit to
the number of connections allowed to a given host. |
class |
ExponentialBackoffManager
A backoff manager implementation that uses an exponential backoff algorithm to adjust the maximum
number of connections per HTTP route.
|
class |
LinearBackoffManager
An implementation of
BackoffManager that uses a linear backoff strategy to adjust the maximum number
of connections per route in an PoolingHttpClientConnectionManager. |
| 限定符和类型 | 方法和说明 |
|---|---|
HttpClientBuilder |
HttpClientBuilder.setBackoffManager(BackoffManager backoffManager)
Assigns
BackoffManager instance. |
| 构造器和说明 |
|---|
BackoffStrategyExec(ConnectionBackoffStrategy connectionBackoffStrategy,
BackoffManager backoffManager)
|
Copyright © 2023. All rights reserved.