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, isInitialized
AsyncTask 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.Exception
void awaitInitialized() throws java.lang.InterruptedException
java.lang.InterruptedException
Copyright © 2014 EsprIT-Systems. All Rights Reserved.