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
Subclasses with type arguments of type ConcurrentException in org.apache.commons.lang3.concurrentModifier and TypeClassDescriptionclassA specialized implementation of theConcurrentInitializerinterface based on anAtomicReferencevariable.static classAtomicInitializer.Builder<I extends AtomicInitializer<T>, T>Builds a new instance.classA specializedConcurrentInitializerimplementation which is similar toAtomicInitializer, but ensures that theAbstractConcurrentInitializer.initialize()method is called only once.static classAtomicSafeInitializer.Builder<I extends AtomicSafeInitializer<T>, T>Builds a new instance.classThis class provides a generic implementation of the lazy initialization pattern.static classLazyInitializer.Builder<I extends LazyInitializer<T>, T>Builds a new instance.Subinterfaces with type arguments of type ConcurrentException in org.apache.commons.lang3.concurrentModifier and TypeInterfaceDescriptioninterfaceDefines the thread-safe initialization of objects.Methods in org.apache.commons.lang3.concurrent that return ConcurrentExceptionModifier and TypeMethodDescriptionstatic ConcurrentExceptionConcurrentUtils.extractCause(ExecutionException ex) Inspects the cause of the specifiedExecutionExceptionand creates aConcurrentExceptionwith the checked cause if necessary.MultiBackgroundInitializer.MultiBackgroundInitializerResults.getException(String name) Gets theConcurrentExceptionobject that was thrown by theBackgroundInitializerwith the given name.protected ConcurrentExceptionAtomicInitializer.getTypedException(Exception e) Gets an Exception with a type of E as defined by a concrete subclass of this class.protected ConcurrentExceptionAtomicSafeInitializer.getTypedException(Exception e) Gets an Exception with a type of E as defined by a concrete subclass of this class.protected ConcurrentExceptionLazyInitializer.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 ConcurrentExceptionModifier and TypeMethodDescriptionvoidAbstractConcurrentInitializer.close()Calls the closer with the manager object.voidMultiBackgroundInitializer.close()Calls the closer of all childBackgroundInitializerobjects.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.AtomicInitializer.get()Gets the object managed by this initializer.final TAtomicSafeInitializer.get()Gets (and initialize, if not initialized yet) the required object.BackgroundInitializer.get()Gets the result of the background initialization.ConstantInitializer.get()Gets the object managed by this initializer.LazyInitializer.get()Gets the object wrapped by this instance.static voidConcurrentUtils.handleCause(ExecutionException ex) Handles the specifiedExecutionException.static <T> TConcurrentUtils.initialize(ConcurrentInitializer<T> initializer) Invokes the specifiedConcurrentInitializerand returns the object produced by the initializer.