Package org.eclipse.net4j.util.ref
A framework for memory-sensitive keyed references and value maps.
-
Interface Summary Interface Description KeyedReference<K,T> -
Class Summary Class Description CleanableReferenceQueue<T> Interner<E> Interner.Entry<E> A weak reference holder that caches the hash code of the referent and is chained in theInterner.entries
to handle collisions.KeyedPhantomReference<K,T> KeyedSoftReference<K,T> KeyedStrongReference<K,T> KeyedWeakReference<K,T> ReferenceMonitor<T> ReferenceQueueWorker<T> ReferenceValueMap<K,V> AConcurrentMap
implementation that usesKeyedReference
instances (KeyedStrongReference
,KeyedSoftReference
,KeyedWeakReference
orKeyedPhantomReference
) as its values.ReferenceValueMap.Soft<K,V> ReferenceValueMap.Strong<K,V> ReferenceValueMap.Weak<K,V> ReferenceValueMap2<K,V> AMap
implementation that usesKeyedReference
instances (KeyedStrongReference
,KeyedSoftReference
,KeyedWeakReference
orKeyedPhantomReference
) as its values.ReferenceValueMap2.Soft<K,V> ReferenceValueMap2.Strong<K,V> ReferenceValueMap2.Weak<K,V> -
Enum Summary Enum Description ReferenceType