| 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.ssl |
SSL ·
TLS implementation based on
SSLEngine |
| 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 |
|---|---|
(package private) Timeout |
NioClientSocketChannel.timoutTimer |
| Modifier and Type | Field and Description |
|---|---|
private Timeout |
SslHandler.handshakeTimeout |
| Modifier and Type | Field and Description |
|---|---|
(package private) Timeout |
IdleStateHandler.State.allIdleTimeout |
(package private) Timeout |
IdleStateHandler.State.readerIdleTimeout |
(package private) Timeout |
ReadTimeoutHandler.State.timeout |
private Timeout |
WriteTimeoutHandler.TimeoutCanceller.timeout |
(package private) Timeout |
IdleStateHandler.State.writerIdleTimeout |
| Modifier and Type | Method and Description |
|---|---|
void |
IdleStateHandler.ReaderIdleTimeoutTask.run(Timeout timeout) |
void |
IdleStateHandler.WriterIdleTimeoutTask.run(Timeout timeout) |
void |
IdleStateHandler.AllIdleTimeoutTask.run(Timeout timeout) |
void |
ReadTimeoutHandler.ReadTimeoutTask.run(Timeout timeout) |
void |
WriteTimeoutHandler.WriteTimeoutTask.run(Timeout timeout) |
| Constructor and Description |
|---|
TimeoutCanceller(Timeout timeout) |
| Modifier and Type | Field and Description |
|---|---|
(package private) Timeout |
AbstractTrafficShapingHandler.timeout
used in releaseExternalResources() to cancel the timer
|
(package private) Timeout |
TrafficCounter.timeout
used in stop() to cancel the timer
|
private Timeout |
ChannelTrafficShapingHandler.writeTimeout |
| Modifier and Type | Method and Description |
|---|---|
void |
AbstractTrafficShapingHandler.ReopenReadTimerTask.run(Timeout timeoutArg) |
void |
GlobalChannelTrafficCounter.MixedTrafficMonitoringTask.run(Timeout timeout) |
void |
TrafficCounter.TrafficMonitoringTask.run(Timeout timeout) |
| 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 |
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. |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<Timeout> |
HashedWheelTimer.stop() |
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.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
Timeouts. |