Uses of Class
org.apache.commons.lang3.concurrent.ConcurrentException
Packages that use ConcurrentException
Package
Description
Provides support classes for multi-threaded programming.
-
Uses of ConcurrentException in org.apache.commons.lang3.concurrent
Fields in org.apache.commons.lang3.concurrent with type parameters of type ConcurrentExceptionModifier and TypeFieldDescriptionprivate final Map<String,
ConcurrentException> MultiBackgroundInitializer.MultiBackgroundInitializerResults.exceptions
A map with the exceptions.Methods in org.apache.commons.lang3.concurrent that return ConcurrentExceptionModifier and TypeMethodDescriptionstatic ConcurrentException
ConcurrentUtils.extractCause
(ExecutionException ex) Inspects the cause of the specifiedExecutionException
and creates aConcurrentException
with the checked cause if necessary.MultiBackgroundInitializer.MultiBackgroundInitializerResults.getException
(String name) Returns theConcurrentException
object that was thrown by theBackgroundInitializer
with the given name.Methods in org.apache.commons.lang3.concurrent that throw ConcurrentExceptionModifier and TypeMethodDescriptionstatic <K,
V> V ConcurrentUtils.createIfAbsent
(ConcurrentMap<K, V> map, K key, ConcurrentInitializer<V> init) Checks if a concurrent map contains a key and creates a corresponding value if not.AtomicInitializer.get()
Returns the object managed by this initializer.final T
AtomicSafeInitializer.get()
Gets (and initialize, if not initialized yet) the required objectBackgroundInitializer.get()
Returns the result of the background initialization.ConcurrentInitializer.get()
Returns the fully initialized object produced by thisConcurrentInitializer
.ConstantInitializer.get()
Returns the object managed by this initializer.LazyInitializer.get()
Returns the object wrapped by this instance.static void
ConcurrentUtils.handleCause
(ExecutionException ex) Handles the specifiedExecutionException
.protected abstract T
AtomicInitializer.initialize()
Creates and initializes the object managed by thisAtomicInitializer
.protected abstract T
AtomicSafeInitializer.initialize()
Creates and initializes the object managed by thisAtomicInitializer
.static <T> T
ConcurrentUtils.initialize
(ConcurrentInitializer<T> initializer) Invokes the specifiedConcurrentInitializer
and returns the object produced by the initializer.protected abstract T
LazyInitializer.initialize()
Creates and initializes the object managed by thisLazyInitializer
.