Class ConcurrentReferenceHashSet<E>

java.lang.Object
org.apache.openjpa.lib.util.concurrent.ConcurrentReferenceHashSet<E>
All Implemented Interfaces:
Serializable, Iterable<E>, Collection<E>, Set<E>

public class ConcurrentReferenceHashSet<E> extends Object implements Set<E>, Serializable
A concurrent set whose values may be stored as weak or soft references. If the constructor is invoked with refType set to #HARD, this uses a JDK1.5 ConcurrentHashMap under the covers. Otherwise, it uses a ConcurrentReferenceHashMap.
Author:
Abe White
See Also: