# 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

  Subclasses with type arguments of type ConcurrentException in org.apache.commons.lang3.concurrent
  Modifier and Type
  Class
  Description
  `class`
  `AtomicInitializer<T>`
  A specialized implementation of the `ConcurrentInitializer` interface based on an `AtomicReference` variable.
  `static class`
  `AtomicInitializer.Builder<I extends AtomicInitializer<T>, T>`
  Builds a new instance.
  `class`
  `AtomicSafeInitializer<T>`
  A specialized `ConcurrentInitializer` implementation which is similar to `AtomicInitializer`, but ensures that the `AbstractConcurrentInitializer.initialize()` method is called only once.
  `static class`
  `AtomicSafeInitializer.Builder<I extends AtomicSafeInitializer<T>, T>`
  Builds a new instance.
  `class`
  `LazyInitializer<T>`
  This class provides a generic implementation of the lazy initialization pattern.
  `static class`
  `LazyInitializer.Builder<I extends LazyInitializer<T>, T>`
  Builds a new instance.
  Subinterfaces with type arguments of type ConcurrentException in org.apache.commons.lang3.concurrent
  Modifier and Type
  Interface
  Description
  `interface`
  `ConcurrentInitializer<T>`
  Defines the thread-safe initialization of objects.
  Methods in org.apache.commons.lang3.concurrent that return ConcurrentException
  Modifier and Type
  Method
  Description
  `static ConcurrentException`
  ConcurrentUtils.`extractCause(ExecutionException ex)`
  Inspects the cause of the specified `ExecutionException` and creates a `ConcurrentException` with the checked cause if necessary.
  `ConcurrentException`
  MultiBackgroundInitializer.MultiBackgroundInitializerResults.`getException(String name)`
  Gets the `ConcurrentException` object that was thrown by the `BackgroundInitializer` with the given name.
  `protected ConcurrentException`
  AtomicInitializer.`getTypedException(Exception e)`
  Gets an Exception with a type of E as defined by a concrete subclass of this class.
  `protected ConcurrentException`
  AtomicSafeInitializer.`getTypedException(Exception e)`
  Gets an Exception with a type of E as defined by a concrete subclass of this class.
  `protected ConcurrentException`
  LazyInitializer.`getTypedException(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 child `BackgroundInitializer` objects.
  `static <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.
  `T`
  AtomicInitializer.`get()`
  Gets the object managed by this initializer.
  `final T`
  AtomicSafeInitializer.`get()`
  Gets (and initialize, if not initialized yet) the required object.
  `T`
  BackgroundInitializer.`get()`
  Gets the result of the background initialization.
  `T`
  ConstantInitializer.`get()`
  Gets the object managed by this initializer.
  `T`
  LazyInitializer.`get()`
  Gets the object wrapped by this instance.
  `static void`
  ConcurrentUtils.`handleCause(ExecutionException ex)`
  Handles the specified `ExecutionException`.
  `static <T> T`
  ConcurrentUtils.`initialize(ConcurrentInitializer<T> initializer)`
  Invokes the specified `ConcurrentInitializer` and returns the object produced by the initializer.