@Deprecated public class BasicPoolEntryRef extends 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,
ReferenceQueue<Object> queue)
Deprecated.
Creates a new reference to a pool entry.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRoute |
getRoute()
Deprecated.
Obtain the planned route for the referenced entry.
|
clear, enqueue, get, isEnqueuedpublic BasicPoolEntryRef(BasicPoolEntry entry, ReferenceQueue<Object> queue)
entry - the pool entry, must not be nullqueue - the reference queue, or nullpublic final HttpRoute getRoute()
Copyright © 2010 - 2020 Adobe. All Rights Reserved