Class WeakPool.Entry<B>
java.lang.Object
java.lang.ref.Reference<B>
java.lang.ref.WeakReference<B>
org.cojen.tupl.util.WeakPool.Entry<B>
An entry which weakly references a pooled object.
- 
Method SummaryMethods inherited from class Referenceclear, clone, enqueue, get, isEnqueued, reachabilityFence, refersTo
- 
Method Details- 
releasepublic void release()Release the entry such that it can be accessed again later. This method is thread-safe and doesn't need to be called from the thread that accessed the entry.
- 
discardpublic void discard()Discard the entry from the pool instead of releasing it.
 
-