public interface TimerTask
Timer.newTimeout(TimerTask, long, TimeUnit) (TimerTask, long, TimeUnit)}.| Modifier and Type | Method and Description |
|---|---|
void |
run(Timeout timeout)
Executed after the delay specified with
Timer.newTimeout(TimerTask, long, TimeUnit). |
void run(Timeout timeout) throws Exception
Timer.newTimeout(TimerTask, long, TimeUnit).timeout - a handle which is associated with this taskExceptionCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.