public class FinalizableReferenceQueue extends Object implements Closeable
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.
Constructor and Description |
---|
FinalizableReferenceQueue()
Constructs a new queue.
|
public FinalizableReferenceQueue()
public void close()
java.io.Closeable
close
in interface Closeable
close
in interface AutoCloseable
Copyright © 2010-2013. All Rights Reserved.