public interface AsyncInitializable extends Initializable
| Modifier and Type | Method and Description |
|---|---|
void |
awaitInitialized()
Awaits the async initialization to finish.
|
AsyncTask |
initAsyc()
Returns a yet unsubmitted task that will call
Initializable.init() asynchronously. |
checkInitialized, init, isInitializedAsyncTask initAsyc() throws java.lang.Exception
Initializable.init() asynchronously.
The caller may do something else meanwhile and at a later time call
awaitInitialized() in order to wait on the initialization to finish.java.lang.Exceptionvoid awaitInitialized()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionCopyright © 2014 EsprIT-Systems. All Rights Reserved.