Package | Description |
---|---|
org.eclipse.net4j.util.ref |
A framework for memory-sensitive keyed references and value maps.
|
Modifier and Type | Class and Description |
---|---|
class |
KeyedPhantomReference<K,T> |
class |
KeyedSoftReference<K,T> |
class |
KeyedStrongReference<K,T> |
class |
KeyedWeakReference<K,T> |
Modifier and Type | Method and Description |
---|---|
protected KeyedReference<K,V> |
ReferenceValueMap.Strong.createReference(K key,
V value,
ReferenceQueue<V> queue) |
protected KeyedReference<K,V> |
ReferenceValueMap.Soft.createReference(K key,
V value,
ReferenceQueue<V> queue) |
protected KeyedReference<K,V> |
ReferenceValueMap.Weak.createReference(K key,
V value,
ReferenceQueue<V> queue) |
protected abstract KeyedReference<K,V> |
ReferenceValueMap2.createReference(K key,
V value,
ReferenceQueue<V> queue) |
protected KeyedReference<K,V> |
ReferenceValueMap2.Strong.createReference(K key,
V value,
ReferenceQueue<V> queue) |
protected KeyedReference<K,V> |
ReferenceValueMap2.Soft.createReference(K key,
V value,
ReferenceQueue<V> queue) |
protected KeyedReference<K,V> |
ReferenceValueMap2.Weak.createReference(K key,
V value,
ReferenceQueue<V> queue) |
Modifier and Type | Method and Description |
---|---|
protected V |
ReferenceValueMap2.dereference(KeyedReference<K,V> ref) |
Constructor and Description |
---|
ReferenceValueMap(ConcurrentMap<K,KeyedReference<K,V>> map) |
ReferenceValueMap2(Map<K,KeyedReference<K,V>> map) |
Soft(ConcurrentMap<K,KeyedReference<K,V>> map) |
Soft(Map<K,KeyedReference<K,V>> map) |
Strong(ConcurrentMap<K,KeyedReference<K,V>> map) |
Strong(Map<K,KeyedReference<K,V>> map) |
Weak(ConcurrentMap<K,KeyedReference<K,V>> map) |
Weak(Map<K,KeyedReference<K,V>> map) |
Copyright (c) 2014 Eike Stepper (Berlin, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html