Package | Description |
---|---|
io.netty.util |
Utility classes used across multiple packages.
|
Modifier and Type | Class and Description |
---|---|
private static class |
HashedWheelTimer.HashedWheelTimeout |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<Timeout> |
HashedWheelTimer.Worker.unprocessedTimeouts |
Modifier and Type | Method and Description |
---|---|
Timeout |
Timer.newTimeout(TimerTask task,
long delay,
java.util.concurrent.TimeUnit unit)
Schedules the specified
TimerTask for one-time execution after
the specified delay. |
Timeout |
HashedWheelTimer.newTimeout(TimerTask task,
long delay,
java.util.concurrent.TimeUnit unit) |
Modifier and Type | Method and Description |
---|---|
java.util.Set<Timeout> |
Timer.stop()
Releases all resources acquired by this
Timer and cancels all
tasks which were scheduled but not executed yet. |
java.util.Set<Timeout> |
HashedWheelTimer.stop() |
java.util.Set<Timeout> |
HashedWheelTimer.Worker.unprocessedTimeouts() |
Modifier and Type | Method and Description |
---|---|
void |
TimerTask.run(Timeout timeout)
Executed after the delay specified with
Timer.newTimeout(TimerTask, long, TimeUnit) . |
Modifier and Type | Method and Description |
---|---|
void |
HashedWheelTimer.HashedWheelBucket.clearTimeouts(java.util.Set<Timeout> set)
Clear this bucket and return all not expired / cancelled
Timeout s. |