public interface Task extends Extendable
Reactor
for execution at
some point in the future.
Tasks are created using the Reactor.schedule(int, Handler)
method.
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancel the execution of this task.
|
long |
deadline() |
Reactor |
getReactor() |
attachments
long deadline()
Event.Type.TIMER_TASK
event.Reactor getReactor()
void cancel()