Package | Description |
---|---|
org.apache.commons.lang3.concurrent |
Provides support classes for multi-threaded programming.
|
Modifier and Type | Class and Description |
---|---|
class |
CallableBackgroundInitializer<T>
A specialized
BackgroundInitializer implementation that wraps a
Callable object. |
class |
MultiBackgroundInitializer
A specialized
BackgroundInitializer implementation that can deal with
multiple background initialization tasks. |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,BackgroundInitializer<?>> |
MultiBackgroundInitializer.childInitializers
A map with the child initializers.
|
private java.util.Map<java.lang.String,BackgroundInitializer<?>> |
MultiBackgroundInitializer.MultiBackgroundInitializerResults.initializers
A map with the child initializers.
|
Modifier and Type | Method and Description |
---|---|
private BackgroundInitializer<?> |
MultiBackgroundInitializer.MultiBackgroundInitializerResults.checkName(java.lang.String name)
Checks whether an initializer with the given name exists.
|
BackgroundInitializer<?> |
MultiBackgroundInitializer.MultiBackgroundInitializerResults.getInitializer(java.lang.String name)
Returns the
BackgroundInitializer with the given name. |
Modifier and Type | Method and Description |
---|---|
void |
MultiBackgroundInitializer.addInitializer(java.lang.String name,
BackgroundInitializer<?> init)
Adds a new
BackgroundInitializer to this object. |
Constructor and Description |
---|
MultiBackgroundInitializerResults(java.util.Map<java.lang.String,BackgroundInitializer<?>> inits,
java.util.Map<java.lang.String,java.lang.Object> results,
java.util.Map<java.lang.String,ConcurrentException> excepts)
Creates a new instance of
MultiBackgroundInitializerResults
and initializes it with maps for the BackgroundInitializer
objects, their result objects and the exceptions thrown by them. |