Uses of Class
java.lang.ref.Reference
| Package | Description |
|---|---|
| java.lang.ref | |
| libcore.util | |
| org.apache.http.impl.conn.tsccm |
The implementation of a thread-safe client connection manager.
|
-
Uses of Reference in java.lang.ref
Subclasses of Reference in java.lang.ref Modifier and Type Class Description classFinalizerReference<T>classPhantomReference<T>Implements a phantom reference, which is the weakest of the three types of references.classSoftReference<T>A reference that is cleared when its referent is not strongly reachable and there is memory pressure.classWeakReference<T>Implements a weak reference, which is the middle of the three types of references.Fields in java.lang.ref declared as Reference Modifier and Type Field Description Reference<?>Reference. pendingNextUsed internally by the VM.static Reference<?>ReferenceQueue. unenqueuedMethods in java.lang.ref that return Reference Modifier and Type Method Description Reference<? extends T>ReferenceQueue. poll()Returns the next available reference from the queue, removing it in the process.Reference<? extends T>ReferenceQueue. remove()Returns the next available reference from the queue, removing it in the process.Reference<? extends T>ReferenceQueue. remove(long timeoutMillis)Returns the next available reference from the queue, removing it in the process. -
Uses of Reference in libcore.util
Method parameters in libcore.util with type arguments of type Reference Modifier and Type Method Description static <T> Iterable<T>CollectionUtils. dereferenceIterable(Iterable<? extends Reference<T>> iterable, boolean trim)Returns an iterator over the values referenced by the elements ofiterable. -
Uses of Reference in org.apache.http.impl.conn.tsccm
Subclasses of Reference in org.apache.http.impl.conn.tsccm Modifier and Type Class Description classBasicPoolEntryRefA weak reference to aBasicPoolEntry.Methods in org.apache.http.impl.conn.tsccm with parameters of type Reference Modifier and Type Method Description voidAbstractConnPool. handleReference(Reference ref)voidRefQueueHandler. handleReference(Reference<?> ref)Invoked when a reference is found on the queue.