public abstract class AbstractTimerTask extends Object implements TimerTask
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
run(Timeout timeout)
Executed after the delay specified with
Timer.newTimeout(TimerTask, long, TimeUnit). |
public void cancel()
public void run(Timeout timeout) throws Exception
TimerTaskTimer.newTimeout(TimerTask, long, TimeUnit).Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.