类 ConcurrentReferenceHashMap.SoftEntryReference<K,V>
java.lang.Object
java.lang.ref.Reference<T>
java.lang.ref.SoftReference<ConcurrentReferenceHashMap.Entry<K,V>>
cn.taketoday.util.ConcurrentReferenceHashMap.SoftEntryReference<K,V>
- 所有已实现的接口:
ConcurrentReferenceHashMap.Reference<K,V>
- 封闭类:
- ConcurrentReferenceHashMap<K,
V>
private static final class ConcurrentReferenceHashMap.SoftEntryReference<K,V>
extends SoftReference<ConcurrentReferenceHashMap.Entry<K,V>>
implements ConcurrentReferenceHashMap.Reference<K,V>
Internal
ConcurrentReferenceHashMap.Reference implementation for SoftReferences.-
字段概要
字段 -
构造器概要
构造器构造器说明SoftEntryReference(ConcurrentReferenceHashMap.Entry<K, V> entry, int hash, ConcurrentReferenceHashMap.Reference<K, V> next, ReferenceQueue<ConcurrentReferenceHashMap.Entry<K, V>> queue) -
方法概要
从类继承的方法 java.lang.ref.SoftReference
get从类继承的方法 java.lang.ref.Reference
clear, clone, enqueue, isEnqueued, reachabilityFence, refersTo从类继承的方法 java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait从接口继承的方法 cn.taketoday.util.ConcurrentReferenceHashMap.Reference
get
-
字段详细资料
-
hash
private final int hash -
nextReference
-
-
构造器详细资料
-
SoftEntryReference
public SoftEntryReference(ConcurrentReferenceHashMap.Entry<K, V> entry, int hash, @Nullable ConcurrentReferenceHashMap.Reference<K, V> next, ReferenceQueue<ConcurrentReferenceHashMap.Entry<K, V>> queue)
-
-
方法详细资料
-
getHash
public int getHash()从接口复制的说明:ConcurrentReferenceHashMap.ReferenceReturn the hash for the reference.- 指定者:
getHash在接口中ConcurrentReferenceHashMap.Reference<K,V>
-
getNext
从接口复制的说明:ConcurrentReferenceHashMap.ReferenceReturn the next reference in the chain, ornullif none.- 指定者:
getNext在接口中ConcurrentReferenceHashMap.Reference<K,V>
-
release
public void release()从接口复制的说明:ConcurrentReferenceHashMap.ReferenceRelease this entry and ensure that it will be returned fromReferenceManager#pollForPurge().- 指定者:
release在接口中ConcurrentReferenceHashMap.Reference<K,V>
-