Class FinalizableReferenceQueue

  extended by

public class FinalizableReferenceQueue
extends Object

A reference queue with an associated background thread that dequeues references and invokes FinalizableReference.finalizeReferent() on them.

Keep a strong reference to this object until all of the associated referents have been finalized. If this object is garbage collected earlier, the backing thread will not invoke finalizeReferent() on the remaining references.

2.0 (imported from Google Collections Library)
Bob Lee

Constructor Summary
          Constructs a new queue.
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public FinalizableReferenceQueue()
Constructs a new queue.

Copyright © 2010-2011. All Rights Reserved.