public interface TimerTask
Timer.newTimeout(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 java.lang.Exception
Timer.newTimeout(TimerTask, long, TimeUnit)
.timeout
- a handle which is associated with this taskjava.lang.Exception
Copyright © 2008–2018 The Netty Project. All rights reserved.