Lines Matching refs:queue
49 * whether or not the instance was registered with a queue when it was
57 * Enqueued: An element of the queue with which the instance was
65 * The state is encoded in the queue and next fields as follows:
67 * Active: queue = ReferenceQueue with which instance is registered, or
68 * ReferenceQueue.NULL if it was not registered with a queue; next =
71 * Pending: queue = ReferenceQueue with which instance is registered;
72 * next = Following instance in queue, or this if at end of list.
74 * Enqueued: queue = ReferenceQueue.ENQUEUED; next = Following instance
75 * in queue, or this if at end of list.
77 * Inactive: queue = ReferenceQueue.NULL; next = this.
92 ReferenceQueue<? super T> queue;
145 ReferenceQueue q = r.queue;
197 * not registered with a queue when it was created, then this method will
207 return (this.queue != ReferenceQueue.NULL) && (this.next != null);
212 * Adds this reference object to the queue with which it is registered,
220 * it was not registered with a queue when it was created
223 return this.queue.enqueue(this);
233 Reference(T referent, ReferenceQueue<? super T> queue) {
235 this.queue = (queue == null) ? ReferenceQueue.NULL : queue;