protected static interface ConcurrentReferenceHashMap.Reference<K,V>
ConcurrentReferenceHashMap.Entry contained in the map. Implementations are usually
wrappers around specific java reference implementations (eg SoftReference).| Modifier and Type | Method and Description |
|---|---|
ConcurrentReferenceHashMap.Entry<K,V> |
get()
Returns the referenced entry or
null if the entry is no longer
available. |
int |
getHash()
Returns the hash for the reference.
|
ConcurrentReferenceHashMap.Reference<K,V> |
getNext()
Returns the next reference in the chain or
null |
void |
release()
Release this entry and ensure that it will be returned from
ConcurrentReferenceHashMap.ReferenceManager.pollForPurge(). |
ConcurrentReferenceHashMap.Entry<K,V> get()
null if the entry is no longer
available.nullint getHash()
ConcurrentReferenceHashMap.Reference<K,V> getNext()
nullnullvoid release()
ConcurrentReferenceHashMap.ReferenceManager.pollForPurge().