private class BackgroundInitializer.InitializationTask
extends java.lang.Object
implements java.util.concurrent.Callable<T>
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.ExecutorService |
execFinally
Stores the executor service to be destroyed at the end.
|
Constructor and Description |
---|
InitializationTask(java.util.concurrent.ExecutorService exec)
Creates a new instance of
InitializationTask and initializes
it with the ExecutorService to be destroyed at the end. |
Modifier and Type | Method and Description |
---|---|
T |
call()
Initiates initialization and returns the result.
|
private final java.util.concurrent.ExecutorService execFinally