| Package | Description |
|---|---|
| org.apache.http.concurrent |
Core concurrency APIs.
|
| org.apache.http.pool |
Client side connection pools APIs for synchronous, blocking
communication.
|
| Constructor and Description |
|---|
BasicFuture(FutureCallback<T> callback) |
| Modifier and Type | Method and Description |
|---|---|
Future<E> |
AbstractConnPool.lease(T route,
Object state,
FutureCallback<E> callback)
Attempts to lease a connection for the given route and with the given
state from the pool.
|
Future<E> |
ConnPool.lease(T route,
Object state,
FutureCallback<E> callback)
Attempts to lease a connection for the given route and with the given
state from the pool.
|
Copyright © 2005–2022 The Apache Software Foundation. All rights reserved.