Package org.jruby.javasupport.util
Class ObjectProxyCache.SoftEntryRef<T>
java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.SoftReference<T>
org.jruby.javasupport.util.ObjectProxyCache.SoftEntryRef<T>
- All Implemented Interfaces:
ObjectProxyCache.EntryRef<T>
- Enclosing class:
- ObjectProxyCache<T,
A>
private static final class ObjectProxyCache.SoftEntryRef<T>
extends SoftReference<T>
implements ObjectProxyCache.EntryRef<T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.ref.SoftReference
getMethods inherited from class java.lang.ref.Reference
clear, clone, enqueue, isEnqueued, reachabilityFence, refersToMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jruby.javasupport.util.ObjectProxyCache.EntryRef
get
-
Field Details
-
hash
final int hash
-
-
Constructor Details
-
SoftEntryRef
SoftEntryRef(int hash, T rawObject, ReferenceQueue<Object> queue)
-
-
Method Details
-
hash
public int hash()- Specified by:
hashin interfaceObjectProxyCache.EntryRef<T>
-