程序包 | 说明 |
---|---|
org.jboss.netty.channel.socket.nio |
NIO-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
|
org.jboss.netty.example.uptime | |
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.
|
构造器和说明 |
---|
NioClientBossPool(java.util.concurrent.Executor bossExecutor,
int bossCount,
Timer timer,
ThreadNameDeterminer determiner)
Create a new instance
|
NioClientSocketChannelFactory(java.util.concurrent.Executor bossExecutor,
int bossCount,
WorkerPool<NioWorker> workerPool,
Timer timer)
Creates a new instance.
|
构造器和说明 |
---|
UptimeClientHandler(ClientBootstrap bootstrap,
Timer timer) |
构造器和说明 |
---|
SslHandler(javax.net.ssl.SSLEngine engine,
SslBufferPool bufferPool,
boolean startTls,
Timer timer,
long handshakeTimeoutInMillis)
Creates a new instance.
|
构造器和说明 |
---|
IdleStateHandler(Timer timer,
int readerIdleTimeSeconds,
int writerIdleTimeSeconds,
int allIdleTimeSeconds)
Creates a new instance.
|
IdleStateHandler(Timer timer,
long readerIdleTime,
long writerIdleTime,
long allIdleTime,
java.util.concurrent.TimeUnit unit)
Creates a new instance.
|
ReadTimeoutHandler(Timer timer,
int timeoutSeconds)
Creates a new instance.
|
ReadTimeoutHandler(Timer timer,
long timeout,
java.util.concurrent.TimeUnit unit)
Creates a new instance.
|
WriteTimeoutHandler(Timer timer,
int timeoutSeconds)
Creates a new instance.
|
WriteTimeoutHandler(Timer timer,
long timeout,
java.util.concurrent.TimeUnit unit)
Creates a new instance.
|
限定符和类型 | 字段和说明 |
---|---|
protected Timer |
AbstractTrafficShapingHandler.timer
Timer associated to any TrafficCounter
|
构造器和说明 |
---|
AbstractTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator,
Timer timer)
|
AbstractTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator,
Timer timer,
long checkInterval)
Constructor using the specified ObjectSizeEstimator and using NO LIMIT and
default max time as delay allowed value of 15000L ms.
|
AbstractTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator,
Timer timer,
long writeLimit,
long readLimit)
|
AbstractTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator,
Timer timer,
long writeLimit,
long readLimit,
long checkInterval)
Constructor using the specified ObjectSizeEstimator and
default max time as delay allowed value of 15000L ms.
|
AbstractTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator,
Timer timer,
long writeLimit,
long readLimit,
long checkInterval,
long maxTime)
Constructor using the specified ObjectSizeEstimator.
|
AbstractTrafficShapingHandler(Timer timer)
Constructor using default
ObjectSizeEstimator and using NO LIMIT and
default Check Interval value of 1000L ms and
default max time as delay allowed value of 15000L ms. |
AbstractTrafficShapingHandler(Timer timer,
long checkInterval)
Constructor using default
ObjectSizeEstimator and using NO LIMIT and
default max time as delay allowed value of 15000L ms. |
AbstractTrafficShapingHandler(Timer timer,
long writeLimit,
long readLimit)
Constructor using default
ObjectSizeEstimator and using
default Check Interval value of 1000L ms and
default max time as delay allowed value of 15000L ms. |
AbstractTrafficShapingHandler(Timer timer,
long writeLimit,
long readLimit,
long checkInterval)
Constructor using default
ObjectSizeEstimator and
default max time as delay allowed value of 15000L ms. |
AbstractTrafficShapingHandler(Timer timer,
long writeLimit,
long readLimit,
long checkInterval,
long maxTime)
Constructor using default
ObjectSizeEstimator . |
ChannelTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator,
Timer timer) |
ChannelTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator,
Timer timer,
long checkInterval) |
ChannelTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator,
Timer timer,
long writeLimit,
long readLimit) |
ChannelTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator,
Timer timer,
long writeLimit,
long readLimit,
long checkInterval) |
ChannelTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator,
Timer timer,
long writeLimit,
long readLimit,
long checkInterval,
long maxTime) |
ChannelTrafficShapingHandler(Timer timer) |
ChannelTrafficShapingHandler(Timer timer,
long checkInterval) |
ChannelTrafficShapingHandler(Timer timer,
long writeLimit,
long readLimit) |
ChannelTrafficShapingHandler(Timer timer,
long writeLimit,
long readLimit,
long checkInterval) |
ChannelTrafficShapingHandler(Timer timer,
long writeLimit,
long readLimit,
long checkInterval,
long maxTime) |
GlobalChannelTrafficCounter(GlobalChannelTrafficShapingHandler trafficShapingHandler,
Timer timer,
java.lang.String name,
long checkInterval) |
GlobalChannelTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator,
Timer timer) |
GlobalChannelTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator,
Timer timer,
long checkInterval) |
GlobalChannelTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator,
Timer timer,
long writeLimit,
long readLimit,
long writeChannelLimit,
long readChannelLimit) |
GlobalChannelTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator,
Timer timer,
long writeLimit,
long readLimit,
long writeChannelLimit,
long readChannelLimit,
long checkInterval) |
GlobalChannelTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator,
Timer timer,
long writeLimit,
long readLimit,
long writeChannelLimit,
long readChannelLimit,
long checkInterval,
long maxTime) |
GlobalChannelTrafficShapingHandler(Timer timer)
Create a new instance.
|
GlobalChannelTrafficShapingHandler(Timer timer,
long checkInterval)
Create a new instance.
|
GlobalChannelTrafficShapingHandler(Timer timer,
long writeGlobalLimit,
long readGlobalLimit,
long writeChannelLimit,
long readChannelLimit)
Create a new instance.
|
GlobalChannelTrafficShapingHandler(Timer timer,
long writeGlobalLimit,
long readGlobalLimit,
long writeChannelLimit,
long readChannelLimit,
long checkInterval)
Create a new instance.
|
GlobalChannelTrafficShapingHandler(Timer timer,
long writeGlobalLimit,
long readGlobalLimit,
long writeChannelLimit,
long readChannelLimit,
long checkInterval,
long maxTime)
Create a new instance.
|
GlobalTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator,
Timer timer) |
GlobalTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator,
Timer timer,
long checkInterval) |
GlobalTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator,
Timer timer,
long writeLimit,
long readLimit) |
GlobalTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator,
Timer timer,
long writeLimit,
long readLimit,
long checkInterval) |
GlobalTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator,
Timer timer,
long writeLimit,
long readLimit,
long checkInterval,
long maxTime) |
GlobalTrafficShapingHandler(Timer timer) |
GlobalTrafficShapingHandler(Timer timer,
long checkInterval) |
GlobalTrafficShapingHandler(Timer timer,
long writeLimit,
long readLimit) |
GlobalTrafficShapingHandler(Timer timer,
long writeLimit,
long readLimit,
long checkInterval) |
GlobalTrafficShapingHandler(Timer timer,
long writeLimit,
long readLimit,
long checkInterval,
long maxTime) |
TrafficCounter(AbstractTrafficShapingHandler trafficShapingHandler,
Timer timer,
java.lang.String name,
long checkInterval)
Constructor with the
AbstractTrafficShapingHandler that hosts it, the Timer to use, its
name, the checkInterval between two computations in millisecond. |
限定符和类型 | 类和说明 |
---|---|
class |
HashedWheelTimer
A
Timer optimized for approximated I/O timeout scheduling. |
限定符和类型 | 方法和说明 |
---|---|
Timer |
Timeout.getTimer()
Returns the
Timer that created this handle. |