@Deprecated public class BasicPoolEntryRef extends java.lang.ref.WeakReference<BasicPoolEntry>
BasicPoolEntry
.
This reference explicitly keeps the planned route, so the connection
can be reclaimed if it is lost to garbage collection.Constructor and Description |
---|
BasicPoolEntryRef(BasicPoolEntry entry,
java.lang.ref.ReferenceQueue<java.lang.Object> queue)
Deprecated.
Creates a new reference to a pool entry.
|
public BasicPoolEntryRef(BasicPoolEntry entry, java.lang.ref.ReferenceQueue<java.lang.Object> queue)
entry
- the pool entry, must not be null
queue
- the reference queue, or null
public final HttpRoute getRoute()