| Package | Description |
|---|---|
| org.apache.http.concurrent |
Core concurrency APIs.
|
| org.apache.http.pool |
Client side connection pools APIs for synchronous, blocking
communication.
|
| Constructor | Description |
|---|---|
BasicFuture(FutureCallback<T> callback) |
| Modifier and Type | Method | Description |
|---|---|---|
java.util.concurrent.Future<E> |
AbstractConnPool.lease(T route,
java.lang.Object state,
FutureCallback<E> callback) |
Attempts to lease a connection for the given route and with the given
state from the pool.
|
java.util.concurrent.Future<E> |
ConnPool.lease(T route,
java.lang.Object state,
FutureCallback<E> callback) |
Attempts to lease a connection for the given route and with the given
state from the pool.
|