Class BackgroundInitializer.InitializationTask
java.lang.Object
org.apache.commons.lang3.concurrent.BackgroundInitializer.InitializationTask
- All Implemented Interfaces:
Callable<T>
- Enclosing class:
- BackgroundInitializer<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ExecutorService
Stores the executor service to be destroyed at the end. -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new instance ofInitializationTask
and initializes it with theExecutorService
to be destroyed at the end. -
Method Summary
-
Field Details
-
execFinally
Stores the executor service to be destroyed at the end.
-
-
Constructor Details
-
InitializationTask
InitializationTask(ExecutorService exec) Creates a new instance ofInitializationTask
and initializes it with theExecutorService
to be destroyed at the end.- Parameters:
exec
- theExecutorService
-
-
Method Details