Package | Description |
---|---|
ej.bon | |
java.lang.ref |
Modifier and Type | Class and Description |
---|---|
class |
EnqueuedWeakReference<T>
EnqueuedWeakReference are objects that are queued in an ReferenceQueue by the
system when the object they point at (see
get() ) is set to null by the
system. |
Modifier and Type | Class and Description |
---|---|
class |
WeakReference<T>
Weak reference objects, which do not prevent their referents from being made finalizable,
finalized, and then reclaimed.
|
Modifier and Type | Method and Description |
---|---|
Reference<? extends T> |
ReferenceQueue.poll()
Polls this queue to see if a reference object is available.
|
Reference<? extends T> |
ReferenceQueue.remove()
Removes the next reference object in this queue, blocking until one becomes available.
|
Reference<? extends T> |
ReferenceQueue.remove(long timeout)
Removes the next reference object in this queue, blocking until either one becomes available or
the given timeout period expires.
|