public interface ExecutorContext
executor
instances for
SDK internal usage. Implementation should not manage created
executor
life-cycle. Executors will be stopped during
GenericKaaClient.stop()
, thus executor
instances
should not be cached in context or context should check shutdown status
before return of cached value.Modifier and Type | Method and Description |
---|---|
ExecutorService |
getApiExecutor()
Executes user API calls to SDK client.
|
ExecutorService |
getCallbackExecutor()
Executes callback methods provided by SDK client user.
|
ExecutorService |
getLifeCycleExecutor()
Executes lifecycle events/commands of Kaa client
|
void |
init()
Initialize executors
|
void |
stop()
Stops executors
|
void init()
void stop()
ExecutorService getLifeCycleExecutor()
ExecutorService getApiExecutor()
ExecutorService getCallbackExecutor()
Copyright © 2015. All rights reserved.