|
Java Platform 1.2 Beta 4 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Reference | |
java.lang.ref | Provides reference object classes, which allow a program to interact with the garbage collector. |
Uses of Reference in java.lang.ref |
Subclasses of Reference in java.lang.ref | |
PhantomReference
Phantom reference objects, for use in scheduling pre-mortem cleanup actions. |
|
SoftReference
Soft reference objects, which are cleared at the discretion of the garbage collector in order to release memory for reclamation. |
|
WeakReference
Weak reference objects, for use in implementing canonicalizing mappings. |
Methods in java.lang.ref that return Reference | |
Reference | ReferenceQueue.poll()
Poll this queue to see if a reference object is available, immediately returning one if so. |
Reference | ReferenceQueue.remove(long timeout)
Remove the next reference object in this queue, blocking until either one becomes available or the given timeout period expires. |
Reference | ReferenceQueue.remove()
Remove the next reference object in this queue, blocking until one becomes available. |
|
Java Platform 1.2 Beta 4 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |