| Package | Description | 
|---|---|
| org.apache.hc.core5.pool | Client side connection pool component APIs. | 
| Modifier and Type | Method and Description | 
|---|---|
| Future<PoolEntry<T,C>> | LaxConnPool. lease(T route,
     Object state) | 
| Future<PoolEntry<T,C>> | StrictConnPool. lease(T route,
     Object state) | 
| Future<PoolEntry<T,C>> | LaxConnPool. lease(T route,
     Object state,
     Timeout requestTimeout,
     FutureCallback<PoolEntry<T,C>> callback) | 
| Future<PoolEntry<T,C>> | StrictConnPool. lease(T route,
     Object state,
     Timeout requestTimeout,
     FutureCallback<PoolEntry<T,C>> callback) | 
| Future<PoolEntry<T,C>> | ConnPool. lease(T route,
     Object state,
     Timeout requestTimeout,
     FutureCallback<PoolEntry<T,C>> callback)Attempts to lease a connection for the given route and with the given
 state from the pool. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | LaxConnPool. release(PoolEntry<T,C> entry,
       boolean reusable) | 
| void | StrictConnPool. release(PoolEntry<T,C> entry,
       boolean reusable) | 
| void | ConnPool. release(PoolEntry<T,C> entry,
       boolean reusable)Releases the pool entry back to the pool. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | LaxConnPool. enumAvailable(Callback<PoolEntry<T,C>> callback) | 
| void | StrictConnPool. enumAvailable(Callback<PoolEntry<T,C>> callback)Enumerates all available connections. | 
| void | LaxConnPool. enumLeased(Callback<PoolEntry<T,C>> callback) | 
| void | StrictConnPool. enumLeased(Callback<PoolEntry<T,C>> callback)Enumerates all leased connections. | 
| Future<PoolEntry<T,C>> | LaxConnPool. lease(T route,
     Object state,
     Timeout requestTimeout,
     FutureCallback<PoolEntry<T,C>> callback) | 
| Future<PoolEntry<T,C>> | StrictConnPool. lease(T route,
     Object state,
     Timeout requestTimeout,
     FutureCallback<PoolEntry<T,C>> callback) | 
| Future<PoolEntry<T,C>> | ConnPool. lease(T route,
     Object state,
     Timeout requestTimeout,
     FutureCallback<PoolEntry<T,C>> callback)Attempts to lease a connection for the given route and with the given
 state from the pool. | 
Copyright © 2005–2021 The Apache Software Foundation. All rights reserved.