Provides support classes for multi-threaded programming.
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 the
ConcurrentInitializerinterface based on an
AtomicSafeInitializer<T> BackgroundInitializer<T>A class that allows complex initialization operations in a background task. BasicThreadFactoryAn implementation of the
ThreadFactoryinterface that provides some configuration options for the threads it creates.
BasicThreadFactory.BuilderA builder class for creating instances of
BackgroundInitializerimplementation that wraps a
ConcurrentUtilsAn utility class providing functionality related to the
ConstantInitializer<T>A very simple implementation of the
ConcurrentInitializerinterface which always returns the same object.
LazyInitializer<T>This class provides a generic implementation of the lazy initialization pattern. MultiBackgroundInitializerA specialized
BackgroundInitializerimplementation that can deal with multiple background initialization tasks.
MultiBackgroundInitializer.MultiBackgroundInitializerResultsA data class for storing the results of the background initialization performed by
TimedSemaphoreA specialized semaphore implementation that provides a number of permits in a given time frame. Exception Summary Exception Description ConcurrentExceptionAn exception class used for reporting error conditions related to accessing data of background tasks. ConcurrentRuntimeExceptionAn 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 isintended to be an extension to
These classes are thread-safe.
SCaVis 1.8 © jWork.org