Deprecated
(4.2) do not use
BasicPoolEntry.
This reference explicitly keeps the planned route, so the connection
can be reclaimed if it is lost to garbage collection.
| Modifier and Type | Field and Description |
|---|---|
| private final HttpRoute | route
The planned route of the entry. |
| Access | Constructor and Description |
|---|---|
| public | BasicPoolEntryRef(final BasicPoolEntry
the pool entry, must not be entry, final ReferenceQueue<Object> nullthe reference queue, or queue)null
Deprecated
as a consequence of
Creates a new reference to a pool entry.
BasicPoolEntry being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| public final HttpRoute |
| route | back to summary |
|---|---|
| private final HttpRoute route The planned route of the entry. | |
| BasicPoolEntryRef | back to summary |
|---|---|
| public BasicPoolEntryRef(final BasicPoolEntry entry, final ReferenceQueue<Object> queue)
Deprecated as a consequence of Creates a new reference to a pool entry.
| |
| getRoute | back to summary |
|---|---|
| public final HttpRoute getRoute() Obtain the planned route for the referenced entry. The planned route is still available, even if the entry is gone.
| |