| Package | Description |
|---|---|
| com.github.deinok.threading |
| Modifier and Type | Method and Description |
|---|---|
Task<R> |
Task.await()
Ensures that the result is ready to be returned
|
Task<R> |
Task.execute(ExecutionMode executionMode)
Executes the Task in the selected mode
|
Task<R> |
Task.executeAsync()
Executes the Task Asynchronous
|
Task<R> |
Task.executeSync()
Executes the Task Synchronous
|
Task<R> |
Task.onException(OnException onException)
Callback executed when the Task ends with an exception
|
Task<R> |
Task.onSuccess(OnSuccess<R> onSuccess)
Callback executed when the Task result is ready
|
Task<R> |
Task.setPriority(int priority)
Sets the priority
|
Copyright © 2017. All rights reserved.