Uses of Class
org.apache.commons.lang3.concurrent.ConcurrentException
-
Packages that use ConcurrentException Package Description org.apache.commons.lang3.concurrent Provides support classes for multi-threaded programming. -
-
Uses of ConcurrentException in org.apache.commons.lang3.concurrent
Methods in org.apache.commons.lang3.concurrent that return ConcurrentException Modifier and Type Method Description static ConcurrentException
ConcurrentUtils. extractCause(java.util.concurrent.ExecutionException ex)
Inspects the cause of the specifiedExecutionException
and creates aConcurrentException
with the checked cause if necessary.ConcurrentException
MultiBackgroundInitializer.MultiBackgroundInitializerResults. getException(java.lang.String name)
Returns theConcurrentException
object that was thrown by theBackgroundInitializer
with the given name.protected ConcurrentException
AtomicInitializer. getTypedException(java.lang.Exception e)
Gets an Exception with a type of E as defined by a concrete subclass of this class.protected ConcurrentException
AtomicSafeInitializer. getTypedException(java.lang.Exception e)
Gets an Exception with a type of E as defined by a concrete subclass of this class.protected ConcurrentException
LazyInitializer. getTypedException(java.lang.Exception e)
Gets an Exception with a type of E as defined by a concrete subclass of this class.Methods in org.apache.commons.lang3.concurrent that throw ConcurrentException Modifier and Type Method Description void
AbstractConcurrentInitializer. close()
Calls the closer with the manager object.void
MultiBackgroundInitializer. close()
Calls the closer of all childBackgroundInitializer
objectsstatic <K,V>
VConcurrentUtils. createIfAbsent(java.util.concurrent.ConcurrentMap<K,V> map, K key, ConcurrentInitializer<V> init)
Checks if a concurrent map contains a key and creates a corresponding value if not.T
AtomicInitializer. get()
Returns the object managed by this initializer.T
AtomicSafeInitializer. get()
Gets (and initialize, if not initialized yet) the required objectT
BackgroundInitializer. get()
Returns the result of the background initialization.T
ConstantInitializer. get()
Returns the object managed by this initializer.T
LazyInitializer. get()
Returns the object wrapped by this instance.static void
ConcurrentUtils. handleCause(java.util.concurrent.ExecutionException ex)
Handles the specifiedExecutionException
.static <T> T
ConcurrentUtils. initialize(ConcurrentInitializer<T> initializer)
Invokes the specifiedConcurrentInitializer
and returns the object produced by the initializer.
-