@Deprecated class HttpPoolEntry extends PoolEntry<HttpRoute,OperatedClientConnection>
Constructor and Description |
---|
HttpPoolEntry(Log log,
java.lang.String id,
HttpRoute route,
OperatedClientConnection conn,
long timeToLive,
java.util.concurrent.TimeUnit tunit)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Deprecated.
Invalidates the pool entry and closes the pooled connection associated
with it.
|
(package private) HttpRoute |
getEffectiveRoute()
Deprecated.
|
(package private) HttpRoute |
getPlannedRoute()
Deprecated.
|
(package private) RouteTracker |
getTracker()
Deprecated.
|
boolean |
isClosed()
Deprecated.
Returns
true if the pool entry has been invalidated. |
boolean |
isExpired(long now)
Deprecated.
|
getConnection, getCreated, getExpiry, getId, getRoute, getState, getUpdated, getValidityDeadline, getValidUnit, setState, toString, updateExpiry
public HttpPoolEntry(Log log, java.lang.String id, HttpRoute route, OperatedClientConnection conn, long timeToLive, java.util.concurrent.TimeUnit tunit)
public boolean isExpired(long now)
isExpired
in class PoolEntry<HttpRoute,OperatedClientConnection>
RouteTracker getTracker()
HttpRoute getPlannedRoute()
HttpRoute getEffectiveRoute()
public boolean isClosed()
PoolEntry
true
if the pool entry has been invalidated.isClosed
in class PoolEntry<HttpRoute,OperatedClientConnection>
public void close()
PoolEntry
close
in class PoolEntry<HttpRoute,OperatedClientConnection>