Uses of Interface
org.jboss.netty.util.Timer
Packages that use Timer
Package
Description
NIO-based socket channel
API implementation - recommended for a large number of connections (>= 1000).
Adds support for read and write timeout and idle connection notification
using a
Timer
.Implementation of a Traffic Shaping Handler and Dynamic Statistics.
Utility classes used across multiple packages.
-
Uses of Timer in org.jboss.netty.channel.socket.nio
Fields in org.jboss.netty.channel.socket.nio declared as TimerModifier and TypeFieldDescriptionprivate final Timer
NioClientBoss.timer
private final Timer
NioClientBossPool.timer
Constructors in org.jboss.netty.channel.socket.nio with parameters of type TimerModifierConstructorDescription(package private)
NioClientBoss
(Executor bossExecutor, Timer timer, ThreadNameDeterminer determiner) NioClientBossPool
(Executor bossExecutor, int bossCount, Timer timer, ThreadNameDeterminer determiner) Create a new instanceNioClientSocketChannelFactory
(Executor bossExecutor, int bossCount, WorkerPool<NioWorker> workerPool, Timer timer) Creates a new instance. -
Uses of Timer in org.jboss.netty.example.uptime
Fields in org.jboss.netty.example.uptime declared as TimerConstructors in org.jboss.netty.example.uptime with parameters of type Timer -
Uses of Timer in org.jboss.netty.handler.ssl
Fields in org.jboss.netty.handler.ssl declared as TimerConstructors in org.jboss.netty.handler.ssl with parameters of type TimerModifierConstructorDescriptionSslHandler
(SSLEngine engine, SslBufferPool bufferPool, boolean startTls, Timer timer, long handshakeTimeoutInMillis) Creates a new instance. -
Uses of Timer in org.jboss.netty.handler.timeout
Fields in org.jboss.netty.handler.timeout declared as TimerModifier and TypeFieldDescription(package private) final Timer
IdleStateHandler.timer
(package private) final Timer
ReadTimeoutHandler.timer
private final Timer
WriteTimeoutHandler.timer
Constructors in org.jboss.netty.handler.timeout with parameters of type TimerModifierConstructorDescriptionIdleStateHandler
(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. -
Uses of Timer in org.jboss.netty.handler.traffic
Fields in org.jboss.netty.handler.traffic declared as TimerModifier and TypeFieldDescriptionprotected Timer
AbstractTrafficShapingHandler.timer
Timer associated to any TrafficCounter(package private) final Timer
TrafficCounter.timer
One Timer for all CounterMethods in org.jboss.netty.handler.traffic with parameters of type TimerModifier and TypeMethodDescription(package private) void
GlobalChannelTrafficShapingHandler.createGlobalTrafficCounter
(Timer timer) Create the global TrafficCounter.private void
AbstractTrafficShapingHandler.init
(ObjectSizeEstimator newObjectSizeEstimator, Timer newTimer, long newWriteLimit, long newReadLimit, long newCheckInterval, long newMaxTime) Constructors in org.jboss.netty.handler.traffic with parameters of type TimerModifierConstructorDescriptionprotected
AbstractTrafficShapingHandler
(ObjectSizeEstimator objectSizeEstimator, Timer timer) protected
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.protected
AbstractTrafficShapingHandler
(ObjectSizeEstimator objectSizeEstimator, Timer timer, long writeLimit, long readLimit) protected
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.protected
AbstractTrafficShapingHandler
(ObjectSizeEstimator objectSizeEstimator, Timer timer, long writeLimit, long readLimit, long checkInterval, long maxTime) Constructor using the specified ObjectSizeEstimator.protected
Constructor using defaultObjectSizeEstimator
and using NO LIMIT and default Check Interval value of 1000L ms and default max time as delay allowed value of 15000L ms.protected
AbstractTrafficShapingHandler
(Timer timer, long checkInterval) Constructor using defaultObjectSizeEstimator
and using NO LIMIT and default max time as delay allowed value of 15000L ms.protected
AbstractTrafficShapingHandler
(Timer timer, long writeLimit, long readLimit) Constructor using defaultObjectSizeEstimator
and using default Check Interval value of 1000L ms and default max time as delay allowed value of 15000L ms.protected
AbstractTrafficShapingHandler
(Timer timer, long writeLimit, long readLimit, long checkInterval) Constructor using defaultObjectSizeEstimator
and default max time as delay allowed value of 15000L ms.protected
AbstractTrafficShapingHandler
(Timer timer, long writeLimit, long readLimit, long checkInterval, long maxTime) Constructor using defaultObjectSizeEstimator
.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, 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, 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) 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, String name, long checkInterval) Constructor with theAbstractTrafficShapingHandler
that hosts it, the Timer to use, its name, the checkInterval between two computations in millisecond. -
Uses of Timer in org.jboss.netty.util
Classes in org.jboss.netty.util that implement TimerModifier and TypeClassDescriptionclass
ATimer
optimized for approximated I/O timeout scheduling.Methods in org.jboss.netty.util that return Timer