|
|||||||||
| Home >> All >> java >> lang >> [ ref overview ] | PREV NEXT | ||||||||
C
- clear() - Method in class java.lang.ref.Reference
- Clears the reference, so that it doesn't refer to its object anymore.
D
- dequeue() - Method in class java.lang.ref.ReferenceQueue
- Remove a reference from the queue, if there is one.
E
- enqueue() - Method in class java.lang.ref.Reference
- Enqueue an object on a reference queue.
- enqueue(Reference) - Method in class java.lang.ref.ReferenceQueue
- This is called by reference to enqueue itself on this queue.
F
- first - Variable in class java.lang.ref.ReferenceQueue
- This is a linked list of references.
G
- get() - Method in class java.lang.ref.PhantomReference
- Returns the object, this reference refers to.
- get() - Method in class java.lang.ref.Reference
- Returns the object, this reference refers to.
- get() - Method in class java.lang.ref.SoftReference
- Returns the object, this reference refers to.
I
- isEnqueued() - Method in class java.lang.ref.Reference
- Tells if the object is enqueued on a reference queue.
J
- java.lang.ref - package java.lang.ref
- Core classes including wrappers for primitive types, classes, packages and class loaders, representations of the system, processes, threads and the core exception hierarchy.
L
- lock - Static variable in class java.lang.ref.Reference
- This lock should be taken by the garbage collector, before determining reachability.
N
- nextOnQueue - Variable in class java.lang.ref.Reference
- Link to the next entry on the queue.
P
- PhantomReference - class java.lang.ref.PhantomReference.
- A phantom reference is useful, to get notified, when an object got finalized.
- PhantomReference(Object, ReferenceQueue) - Constructor for class java.lang.ref.PhantomReference
- Creates a new phantom reference.
- poll() - Method in class java.lang.ref.ReferenceQueue
- Checks if there is a reference on the queue, returning it immediately.
Q
R
- Reference - class java.lang.ref.Reference.
- This is the base class of all references.
- Reference(Object) - Constructor for class java.lang.ref.Reference
- Creates a new reference that is not registered to any queue.
- Reference(Object, ReferenceQueue) - Constructor for class java.lang.ref.Reference
- Creates a reference that is registered to a queue.
- ReferenceQueue - class java.lang.ref.ReferenceQueue.
- This is the queue, where references can enqueue themselve on.
- ReferenceQueue() - Constructor for class java.lang.ref.ReferenceQueue
- Creates a new empty reference queue.
- referent - Variable in class java.lang.ref.Reference
- The underlying object.
- remove(long) - Method in class java.lang.ref.ReferenceQueue
- Removes a reference from the queue, blocking for
timeoutuntil a reference is enqueued. - remove() - Method in class java.lang.ref.ReferenceQueue
- Removes a reference from the queue, blocking until a reference is enqueued.
S
- SoftReference - class java.lang.ref.SoftReference.
- A soft reference will be cleared, if the object is only softly reachable and the garbage collection needs more memory.
- SoftReference(Object) - Constructor for class java.lang.ref.SoftReference
- Create a new soft reference, that is not registered to any queue.
- SoftReference(Object, ReferenceQueue) - Constructor for class java.lang.ref.SoftReference
- Create a new soft reference.
W
- WeakReference - class java.lang.ref.WeakReference.
- A weak reference will be cleared, if the object is only weakly reachable.
- WeakReference(Object) - Constructor for class java.lang.ref.WeakReference
- Create a new weak reference, that is not registered to any queue.
- WeakReference(Object, ReferenceQueue) - Constructor for class java.lang.ref.WeakReference
- Create a new weak reference.
C D E F G I J L N P Q R S W
|
|||||||||
| Home >> All >> java >> lang >> [ ref overview ] | PREV NEXT | ||||||||