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 BlockingRejectedExecutionHandler A handler for rejected tasks that runs the task if the current thread is a blocking thread otherwise it rejects the task.CallerRunsRejectOnShutdownPolicy A handler for rejected tasks that runs the rejected task directly in the calling thread of theexecute
method.ConcurrentHashSet<E> Deprecated. since 10.0, useConcurrentHashMap.newKeySet()
instead.ConcurrentWeakKeyHashMap<K,V> Deprecated. since 10.0NonBlockingRejectedExecutionHandler A handler for rejected tasks that runs the task if the current thread is a non blocking thread otherwise it blocks until the task can be added to the underlying queueNonReentrantLock 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. -
Exception Summary Exception Description CacheBackpressureFullException ACacheException
that is thrown when the backpressure has been filled an unable to process the request.