Package org.apache.commons.lang3.concurrent
Provides support classes for multi-threaded programming.
See: Description
-
Interface Summary Interface Description ConcurrentInitializer<T> Definition of an interface for the thread-safe initialization of objects. -
Class Summary Class Description AtomicInitializer<T> A specialized implementation of theConcurrentInitializerinterface based on anAtomicReferencevariable.AtomicSafeInitializer<T> A specializedConcurrentInitializerimplementation which is similar toAtomicInitializer, but ensures that theAtomicSafeInitializer.initialize()method is called only once.BackgroundInitializer<T> A class that allows complex initialization operations in a background task.BasicThreadFactory An implementation of theThreadFactoryinterface that provides some configuration options for the threads it creates.BasicThreadFactory.Builder A builder class for creating instances ofBasicThreadFactory.CallableBackgroundInitializer<T> A specializedBackgroundInitializerimplementation that wraps aCallableobject.ConcurrentUtils An utility class providing functionality related to thejava.util.concurrentpackage.ConstantInitializer<T> A very simple implementation of theConcurrentInitializerinterface which always returns the same object.LazyInitializer<T> This class provides a generic implementation of the lazy initialization pattern.MultiBackgroundInitializer A specializedBackgroundInitializerimplementation that can deal with multiple background initialization tasks.MultiBackgroundInitializer.MultiBackgroundInitializerResults A data class for storing the results of the background initialization performed byMultiBackgroundInitializer.TimedSemaphore A specialized semaphore implementation that provides a number of permits in a given time frame. -
Exception Summary Exception Description ConcurrentException An exception class used for reporting error conditions related to accessing data of background tasks.ConcurrentRuntimeException An exception class used for reporting runtime error conditions related to accessing data of background tasks.
Package org.apache.commons.lang3.concurrent Description
Provides support classes for multi-threaded programming. This package is
intended to be an extension to
java.util.concurrent.
These classes are thread-safe.
DMelt 3.0 © DataMelt by jWork.ORG