Package | Description |
---|---|
io.netty.util |
Utility classes used across multiple packages.
|
Modifier and Type | Method and Description |
---|---|
Timeout |
HashedWheelTimer.newTimeout(TimerTask task,
long delay,
TimeUnit unit) |
Timeout |
Timer.newTimeout(TimerTask task,
long delay,
TimeUnit unit)
Schedules the specified
TimerTask for one-time execution after
the specified delay. |
Modifier and Type | Method and Description |
---|---|
Set<Timeout> |
HashedWheelTimer.stop() |
Set<Timeout> |
Timer.stop()
Releases all resources acquired by this
Timer and cancels all
tasks which were scheduled but not executed yet. |
Modifier and Type | Method and Description |
---|---|
void |
TimerTask.run(Timeout timeout)
Executed after the delay specified with
Timer.newTimeout(TimerTask, long, TimeUnit) . |
Copyright © 2008–2024 The Netty Project. All rights reserved.