| Modifier and Type | Method and Description |
|---|---|
ITask<R> |
await()
Ensures that the task is finished
|
boolean |
cancel()
Cancel the Task
|
ITask<R> |
execute(ExecutionMode executionMode)
Executes the Task in the selected mode
|
ITask<R> |
executeAsync()
Executes the Task Asynchronous
|
ITask<R> |
executeSync()
Executes the Task Synchronous
|
int |
getPriority()
Gets the priority of the Task
|
ITask<R> |
setPriority(int priority)
Sets the priority
|
onException, onSuccessint getPriority()
@NotNull ITask<R> setPriority(int priority)
priority - The new PriorityITask<R> execute(@NotNull ExecutionMode executionMode)
executionMode - The Execution Modeboolean cancel()
Copyright © 2017. All rights reserved.