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 ConcurrentExceptionConcurrentUtils. extractCause(java.util.concurrent.ExecutionException ex)Inspects the cause of the specifiedExecutionExceptionand creates aConcurrentExceptionwith the checked cause if necessary.ConcurrentExceptionMultiBackgroundInitializer.MultiBackgroundInitializerResults. getException(java.lang.String name)Gets theConcurrentExceptionobject that was thrown by theBackgroundInitializerwith the given name.protected ConcurrentExceptionAtomicInitializer. getTypedException(java.lang.Exception e)Gets an Exception with a type of E as defined by a concrete subclass of this class.protected ConcurrentExceptionAtomicSafeInitializer. getTypedException(java.lang.Exception e)Gets an Exception with a type of E as defined by a concrete subclass of this class.protected ConcurrentExceptionLazyInitializer. 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 voidAbstractConcurrentInitializer. close()Calls the closer with the manager object.voidMultiBackgroundInitializer. close()Calls the closer of all childBackgroundInitializerobjectsstatic <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.TAtomicInitializer. get()Gets the object managed by this initializer.TAtomicSafeInitializer. get()Gets (and initialize, if not initialized yet) the required objectTBackgroundInitializer. get()Gets the result of the background initialization.TConstantInitializer. get()Gets the object managed by this initializer.TLazyInitializer. get()Gets the object wrapped by this instance.static voidConcurrentUtils. handleCause(java.util.concurrent.ExecutionException ex)Handles the specifiedExecutionException.static <T> TConcurrentUtils. initialize(ConcurrentInitializer<T> initializer)Invokes the specifiedConcurrentInitializerand returns the object produced by the initializer.
-