public class BasicPoolEntry extends AbstractPoolEntry
connection, connOperator, route, state, tracker
Constructor and Description |
---|
BasicPoolEntry(ClientConnectionOperator op,
HttpRoute route)
Creates a new pool entry.
|
BasicPoolEntry(ClientConnectionOperator op,
HttpRoute route,
java.lang.ref.ReferenceQueue queue)
Deprecated.
do not use
|
Modifier and Type | Method and Description |
---|---|
OperatedClientConnection |
getConnection() |
protected HttpRoute |
getPlannedRoute() |
protected BasicPoolEntryRef |
getWeakRef() |
protected void |
shutdownEntry()
Shuts down the entry.
|
getState, layerProtocol, open, setState, tunnelProxy, tunnelTarget
public BasicPoolEntry(ClientConnectionOperator op, HttpRoute route, java.lang.ref.ReferenceQueue queue)
public BasicPoolEntry(ClientConnectionOperator op, HttpRoute route)
op
- the connection operatorroute
- the planned route for the connectionpublic final OperatedClientConnection getConnection()
protected final HttpRoute getPlannedRoute()
protected final BasicPoolEntryRef getWeakRef()
protected void shutdownEntry()
AbstractPoolEntry
AbstractPoolEntry.open(HttpRoute, HttpContext, HttpParams)
is in progress,
this will cause that open to possibly throw an IOException
.shutdownEntry
in class AbstractPoolEntry