@ThreadSafe public class BasicPoolEntry extends PoolEntry<HttpHost,HttpClientConnection>
PoolEntry implementation that represents an entry
in a pool of blocking HttpClientConnections identified by
an HttpHost instance.HttpHost| 构造器和说明 |
|---|
BasicPoolEntry(java.lang.String id,
HttpHost route,
HttpClientConnection conn) |
| 限定符和类型 | 方法和说明 |
|---|---|
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, getValidUnit, isExpired, setState, toString, updateExpirypublic BasicPoolEntry(java.lang.String id,
HttpHost route,
HttpClientConnection conn)
public void close()
PoolEntryclose 在类中 PoolEntry<HttpHost,HttpClientConnection>public boolean isClosed()
PoolEntrytrue if the pool entry has been invalidated.isClosed 在类中 PoolEntry<HttpHost,HttpClientConnection>