public interface BackgroundTaskHandler<V>
BackgroundTask
.Modifier and Type | Method and Description |
---|---|
boolean |
cancel()
Cancel task.
|
void |
execute()
Execute the
BackgroundTask . |
V |
getResult()
Wait for the task completion and return its result.
|
boolean |
isAlive() |
boolean |
isCancelled() |
boolean |
isDone() |
void execute()
BackgroundTask
.
boolean cancel()
V getResult()
BackgroundTask.run(TaskLifeCycle)
methodboolean isDone()
boolean isCancelled()
boolean isAlive()