Package org.jboss.logmanager
Class ConcurrentReferenceHashMap.WeakValueReference<V>
java.lang.Object
java.lang.ref.Reference<V>
java.lang.ref.WeakReference<V>
org.jboss.logmanager.ConcurrentReferenceHashMap.WeakValueReference<V>
- All Implemented Interfaces:
ConcurrentReferenceHashMap.KeyReference
- Enclosing class:
ConcurrentReferenceHashMap<K,
V>
static final class ConcurrentReferenceHashMap.WeakValueReference<V>
extends WeakReference<V>
implements ConcurrentReferenceHashMap.KeyReference
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionWeakValueReference
(V value, Object keyRef, int hash, ReferenceQueue<Object> refQueue) -
Method Summary
Methods inherited from class java.lang.ref.Reference
clear, clone, enqueue, get, isEnqueued, reachabilityFence, refersTo
-
Field Details
-
keyRef
-
hash
final int hash
-
-
Constructor Details
-
WeakValueReference
WeakValueReference(V value, Object keyRef, int hash, ReferenceQueue<Object> refQueue)
-
-
Method Details
-
keyHash
public final int keyHash()- Specified by:
keyHash
in interfaceConcurrentReferenceHashMap.KeyReference
-
keyRef
- Specified by:
keyRef
in interfaceConcurrentReferenceHashMap.KeyReference
-