Package org.apache.spark
Class CleanupTaskWeakReference
A WeakReference associated with a CleanupTask.
When the referent object becomes only weakly reachable, the corresponding CleanupTaskWeakReference is automatically added to the given reference queue.
-
Constructor Summary
ConstructorDescriptionCleanupTaskWeakReference
(CleanupTask task, Object referent, ReferenceQueue<Object> referenceQueue) -
Method Summary
Methods inherited from class java.lang.ref.Reference
clear, enqueue, get, isEnqueued, reachabilityFence, refersTo
-
Constructor Details
-
CleanupTaskWeakReference
public CleanupTaskWeakReference(CleanupTask task, Object referent, ReferenceQueue<Object> referenceQueue)
-
-
Method Details
-
task
-