public interface IRunnableTask
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancels the current execution, if any, of this task.
|
void |
execute()
Executes this task's operations.
|
long |
getTaskTimeout()
Returns the timeout set to this task in milliseconds
|
boolean |
isRunning()
Tells if the task is on execution.
|
void execute()
void cancel()
boolean isRunning()
long getTaskTimeout()