public class CleanerReference<T,A> extends PhantomReference<T,A>
PhantomReference
that is strongly retained until it is reaped by the collection thread.Reference.Type
Constructor and Description |
---|
CleanerReference(T referent,
A attachment,
Reaper<T,A> reaper)
Construct a new instance with a reaper.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
getAttachment, getReaper, getType, toString
get
clear, enqueue, isEnqueued
Copyright © 2015 JBoss, a division of Red Hat, Inc.