Package org.springframework.util
Interface ConcurrentReferenceHashMap.Reference<K,V> 
- Type Parameters:
- K- the key type
- V- the value type
- Enclosing class:
- ConcurrentReferenceHashMap<K,V> 
protected static interface ConcurrentReferenceHashMap.Reference<K,V> 
A reference to an 
ConcurrentReferenceHashMap.Entry contained in the map. Implementations are usually
 wrappers around specific Java reference implementations (e.g., SoftReference).- 
Method SummaryModifier and TypeMethodDescriptionget()Return the referenced entry, ornullif the entry is no longer available.intgetHash()Return the hash for the reference.getNext()Return the next reference in the chain, ornullif none.voidrelease()Release this entry and ensure that it will be returned fromReferenceManager#pollForPurge().
- 
Method Details- 
getReturn the referenced entry, ornullif the entry is no longer available.
- 
getHashint getHash()Return the hash for the reference.
- 
getNextReturn the next reference in the chain, ornullif none.
- 
releasevoid release()Release this entry and ensure that it will be returned fromReferenceManager#pollForPurge().
 
-