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.
|
Constructor and Description |
---|
NioClientSocketChannelFactory(Executor bossExecutor,
int bossCount,
WorkerPool<NioWorker> workerPool,
Timer timer)
Creates a new instance.
|
Constructor and Description |
---|
IdleStateHandler(Timer timer,
int readerIdleTimeSeconds,
int writerIdleTimeSeconds,
int allIdleTimeSeconds)
Creates a new instance.
|
IdleStateHandler(Timer timer,
long readerIdleTime,
long writerIdleTime,
long allIdleTime,
TimeUnit unit)
Creates a new instance.
|
ReadTimeoutHandler(Timer timer,
int timeoutSeconds)
Creates a new instance.
|
ReadTimeoutHandler(Timer timer,
long timeout,
TimeUnit unit)
Creates a new instance.
|
WriteTimeoutHandler(Timer timer,
int timeoutSeconds)
Creates a new instance.
|
WriteTimeoutHandler(Timer timer,
long timeout,
TimeUnit unit)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
protected Timer |
AbstractTrafficShapingHandler.timer
Timer to associated to any TrafficCounter
|
Constructor and Description |
---|
AbstractTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator,
Timer timer)
Constructor using the specified ObjectSizeEstimator and using NO LIMIT and default Check Interval
|
AbstractTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator,
Timer timer,
long checkInterval)
Constructor using the specified ObjectSizeEstimator and using NO LIMIT
|
AbstractTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator,
Timer timer,
long writeLimit,
long readLimit)
Constructor using the specified ObjectSizeEstimator and using default Check Interval
|
AbstractTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator,
Timer timer,
long writeLimit,
long readLimit,
long checkInterval)
Constructor using the specified ObjectSizeEstimator
|
AbstractTrafficShapingHandler(Timer timer)
Constructor using default
ObjectSizeEstimator and using NO LIMIT and default Check Interval |
AbstractTrafficShapingHandler(Timer timer,
long checkInterval)
Constructor using default
ObjectSizeEstimator and using NO LIMIT |
AbstractTrafficShapingHandler(Timer timer,
long writeLimit,
long readLimit)
Constructor using default
ObjectSizeEstimator and using default Check Interval |
AbstractTrafficShapingHandler(Timer timer,
long writeLimit,
long readLimit,
long checkInterval)
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(Timer timer) |
ChannelTrafficShapingHandler(Timer timer,
long checkInterval) |
ChannelTrafficShapingHandler(Timer timer,
long writeLimit,
long readLimit) |
ChannelTrafficShapingHandler(Timer timer,
long writeLimit,
long readLimit,
long checkInterval) |
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(Timer timer) |
GlobalTrafficShapingHandler(Timer timer,
long checkInterval) |
GlobalTrafficShapingHandler(Timer timer,
long writeLimit,
long readLimit) |
GlobalTrafficShapingHandler(Timer timer,
long writeLimit,
long readLimit,
long checkInterval) |
TrafficCounter(AbstractTrafficShapingHandler trafficShapingHandler,
Timer timer,
String name,
long checkInterval)
Constructor with the
AbstractTrafficShapingHandler that hosts it, the Timer to use, its
name, the checkInterval between two computations in millisecond |
Modifier and Type | Class and Description |
---|---|
class |
HashedWheelTimer
A
Timer optimized for approximated I/O timeout scheduling. |
Modifier and Type | Method and Description |
---|---|
Timer |
Timeout.getTimer()
Returns the
Timer that created this handle. |
Copyright © 2008-2013 The Netty Project. All Rights Reserved.