Package org.wildfly.common.ref
Class CleanerReference<T,A>
- java.lang.Object
-
- java.lang.ref.Reference<T>
-
- java.lang.ref.PhantomReference<T>
-
- org.wildfly.common.ref.PhantomReference<T,A>
-
- org.wildfly.common.ref.CleanerReference<T,A>
-
- All Implemented Interfaces:
Reference<T,A>
public class CleanerReference<T,A> extends PhantomReference<T,A>
A special version ofPhantomReference
that is strongly retained until it is reaped by the collection thread.- Author:
- David M. Lloyd
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.wildfly.common.ref.Reference
Reference.Type
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
int
hashCode()
-
Methods inherited from class org.wildfly.common.ref.PhantomReference
getAttachment, getReaper, getType, toString
-
Methods inherited from class java.lang.ref.Reference
clear, clone, enqueue, isEnqueued, reachabilityFence
-
-