@Contract(threading=SAFE_CONDITIONAL) public class BasicPoolEntry extends PoolEntry<HttpHost,HttpClientConnection>
PoolEntry
implementation that represents an entry
in a pool of blocking HttpClientConnection
s identified by
an HttpHost
instance.HttpHost
Constructor and Description |
---|
BasicPoolEntry(String id,
HttpHost route,
HttpClientConnection conn) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Invalidates the pool entry and closes the pooled connection associated
with it.
|
boolean |
isClosed()
Returns
true if the pool entry has been invalidated. |
getConnection, getCreated, getExpiry, getId, getRoute, getState, getUpdated, getValidityDeadline, getValidUnit, isExpired, setState, toString, updateExpiry
public BasicPoolEntry(String id, HttpHost route, HttpClientConnection conn)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses