public class TimedTask<T> extends Object
Constructor and Description |
---|
TimedTask() |
Modifier and Type | Method and Description |
---|---|
void |
cancel() |
Task<T> |
execute(String msgFormat,
long timeout,
Runnable action) |
boolean |
isCompleted() |
void |
setError(Exception error) |
void |
setResult(T result) |