Uses of Class
java.lang.ref.ReferenceQueue
| Package | Description |
|---|---|
| java.lang.ref | |
| org.apache.http.impl.conn.tsccm |
The implementation of a thread-safe client connection manager.
|
-
Uses of ReferenceQueue in java.lang.ref
Fields in java.lang.ref declared as ReferenceQueue Modifier and Type Field Description static ReferenceQueue<Object>FinalizerReference. queueConstructors in java.lang.ref with parameters of type ReferenceQueue Constructor Description FinalizerReference(T r, ReferenceQueue<? super T> q)PhantomReference(T r, ReferenceQueue<? super T> q)Constructs a new phantom reference and registers it with the given reference queue.SoftReference(T r, ReferenceQueue<? super T> q)Constructs a new soft reference to the given referent.WeakReference(T r, ReferenceQueue<? super T> q)Constructs a new weak reference to the given referent. -
Uses of ReferenceQueue in org.apache.http.impl.conn.tsccm
Fields in org.apache.http.impl.conn.tsccm declared as ReferenceQueue Modifier and Type Field Description protected ReferenceQueue<Object>AbstractConnPool. refQueueA reference queue to track loss of pool entries to GC.protected ReferenceQueue<?>RefQueueWorker. refQueueThe reference queue to monitor.Constructors in org.apache.http.impl.conn.tsccm with parameters of type ReferenceQueue Constructor Description BasicPoolEntry(ClientConnectionOperator op, HttpRoute route, ReferenceQueue<Object> queue)Creates a new pool entry.BasicPoolEntryRef(BasicPoolEntry entry, ReferenceQueue<Object> queue)Creates a new reference to a pool entry.RefQueueWorker(ReferenceQueue<?> queue, RefQueueHandler handler)Instantiates a new worker to listen for lost connections.