public interface TaskManager
| Modifier and Type | Method and Description |
|---|---|
void |
cancel(Task task)
Requests to cancel the task.
|
Task.Status |
getStatus(Task task)
Gets the task status.
|
void |
remove(Task task)
Removes a task from the task manager.
|
void |
submit(Task task)
Submits a task to run in the background.
|
void submit(Task task)
task - the task to runvoid remove(Task task)
task - the task to removeTask.Status getStatus(Task task)
task - the taskvoid cancel(Task task)
task - the task to cancelCopyright © 2019. All rights reserved.