| Package | Description |
|---|---|
| org.jboss.netty.channel.socket.nio |
NIO-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
|
| org.jboss.netty.handler.timeout |
Adds support for read and write timeout and idle connection notification
using a
Timer. |
| org.jboss.netty.handler.traffic |
Implementation of a Traffic Shaping Handler and Dynamic Statistics.
|
| org.jboss.netty.util |
Utility classes used across multiple packages.
|
| Modifier and Type | Field and Description |
|---|---|
private TimerTask |
NioClientBoss.wakeupTask |
| Modifier and Type | Class and Description |
|---|---|
private class |
IdleStateHandler.AllIdleTimeoutTask |
private class |
IdleStateHandler.ReaderIdleTimeoutTask |
private class |
IdleStateHandler.WriterIdleTimeoutTask |
private class |
ReadTimeoutHandler.ReadTimeoutTask |
private class |
WriteTimeoutHandler.WriteTimeoutTask |
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
AbstractTrafficShapingHandler.ReopenReadTimerTask
Class to implement setReadable at fix time.
|
private static class |
GlobalChannelTrafficCounter.MixedTrafficMonitoringTask
Class to implement monitoring at fix delay.
|
private static class |
TrafficCounter.TrafficMonitoringTask
Class to implement monitoring at fix delay
|
| Modifier and Type | Field and Description |
|---|---|
(package private) TimerTask |
AbstractTrafficShapingHandler.ReadWriteStatus.reopenReadTimerTask |
(package private) TimerTask |
TrafficCounter.timerTask
Monitor created once in start()
|
| Modifier and Type | Field and Description |
|---|---|
private TimerTask |
HashedWheelTimer.HashedWheelTimeout.task |
| Modifier and Type | Method and Description |
|---|---|
TimerTask |
HashedWheelTimer.HashedWheelTimeout.getTask() |
TimerTask |
Timeout.getTask()
Returns the
TimerTask which is associated with this handle. |
| Modifier and Type | Method and Description |
|---|---|
Timeout |
HashedWheelTimer.newTimeout(TimerTask task,
long delay,
java.util.concurrent.TimeUnit unit) |
Timeout |
Timer.newTimeout(TimerTask task,
long delay,
java.util.concurrent.TimeUnit unit)
Schedules the specified
TimerTask for one-time execution after
the specified delay. |
| Constructor and Description |
|---|
HashedWheelTimeout(HashedWheelTimer timer,
TimerTask task,
long deadline) |