Package org.infinispan.commons.util.concurrent
Provides commons interfaces and classes related to concurrency
-
Interface Summary Interface Description ConcurrentWeakKeyHashMap.ReusableIterator<E> -
Class Summary Class Description ConcurrentHashSet<E> A simple Set implementation backed by aConcurrentHashMap
to deal with the fact that the JDK does not have a proper concurrent Set implementation that uses efficient lock striping.ConcurrentWeakKeyHashMap<K,V> An alternative weak-keyConcurrentMap
which is similar toConcurrentHashMap
.NonReentrantLock A simplistic non-reentrant lock that does not use ownership by thread.StripedCounters<T> Duplicates a set of counters in a set of stripes, so that multiple threads can increment those counters without too much contention.