| java.lang.Object | |||
| ↳ | java.lang.ref.Reference <T> | ||
| ↳ | java.lang.ref.WeakReference <T> | ||
| ↳ | org.apache.http.impl.conn.tsccm.BasicPoolEntryRef | ||
A weak reference to a
BasicPoolEntry
.
This reference explicitly keeps the planned route, so the connection
can be reclaimed if it is lost to garbage collection.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Creates a new reference to a pool entry.
|
||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Obtain the planned route for the referenced entry.
|
||||||||||
|
[Expand]
Inherited Methods
|
|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.ref.Reference
|
|||||||||||
From class
java.lang.Object
|
|||||||||||
Creates a new reference to a pool entry.
| entry |
the pool entry, must not be
null
|
|---|---|
| queue |
the reference queue, or
null
|
Obtain the planned route for the referenced entry. The planned route is still available, even if the entry is gone.