Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,11 @@ public final H2AsyncClientBuilder disableAuthCaching() {
* get closed and evicted from the pool.
*
* @return this instance.
* @deprecated Configure connection keep-alive settings appropriately and use
* {@link #evictExpiredConnections()} instead.
* @see RequestConfig#getConnectionKeepAlive()
*/
@Deprecated
public final H2AsyncClientBuilder evictIdleConnections(final TimeValue maxIdleTime) {
this.evictIdleConnections = true;
this.maxIdleTime = maxIdleTime;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -857,7 +857,11 @@ public final HttpAsyncClientBuilder evictExpiredConnections() {
* get closed and evicted from the pool.
*
* @return this instance.
* @deprecated Configure connection keep-alive settings appropriately and use
* {@link #evictExpiredConnections()} instead.
* @see RequestConfig#getConnectionKeepAlive()
*/
@Deprecated
public final HttpAsyncClientBuilder evictIdleConnections(final TimeValue maxIdleTime) {
this.evictIdleConnections = true;
this.maxIdleTime = Args.notNull(maxIdleTime, "Max idle time");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -765,7 +765,11 @@ public final HttpClientBuilder evictExpiredConnections() {
*
* @return this instance.
* @since 4.4
* @deprecated Configure connection keep-alive settings appropriately and use
* {@link #evictExpiredConnections()} instead.
* @see RequestConfig#getConnectionKeepAlive()
*/
@Deprecated
public final HttpClientBuilder evictIdleConnections(final TimeValue maxIdleTime) {
this.evictIdleConnections = true;
this.maxIdleTime = Args.notNull(maxIdleTime, "Max idle time");
Expand Down
Loading