Uses of Interface
org.jboss.netty.util.ObjectSizeEstimator
Packages that use ObjectSizeEstimator
Package
Description
Executor
-based implementation of various
thread models that separate business logic from I/O threadsImplementation of a Traffic Shaping Handler and Dynamic Statistics.
Utility classes used across multiple packages.
-
Uses of ObjectSizeEstimator in org.jboss.netty.handler.execution
Fields in org.jboss.netty.handler.execution declared as ObjectSizeEstimatorModifier and TypeFieldDescription(package private) final ObjectSizeEstimator
MemoryAwareThreadPoolExecutor.Settings.objectSizeEstimator
Methods in org.jboss.netty.handler.execution that return ObjectSizeEstimatorModifier and TypeMethodDescriptionFairOrderedDownstreamThreadPoolExecutor.getObjectSizeEstimator()
Returnnull
MemoryAwareThreadPoolExecutor.getObjectSizeEstimator()
Returns theObjectSizeEstimator
of this pool.OrderedDownstreamThreadPoolExecutor.getObjectSizeEstimator()
Returnnull
Methods in org.jboss.netty.handler.execution with parameters of type ObjectSizeEstimatorModifier and TypeMethodDescriptionvoid
FairOrderedDownstreamThreadPoolExecutor.setObjectSizeEstimator
(ObjectSizeEstimator objectSizeEstimator) ThrowsUnsupportedOperationException
as there is not support for limit the memory size in this implementationvoid
MemoryAwareThreadPoolExecutor.setObjectSizeEstimator
(ObjectSizeEstimator objectSizeEstimator) Sets theObjectSizeEstimator
of this pool.void
OrderedDownstreamThreadPoolExecutor.setObjectSizeEstimator
(ObjectSizeEstimator objectSizeEstimator) ThrowsUnsupportedOperationException
as there is not support for limit the memory size in this implementationConstructors in org.jboss.netty.handler.execution with parameters of type ObjectSizeEstimatorModifierConstructorDescriptionFairOrderedMemoryAwareThreadPoolExecutor
(int corePoolSize, long maxChannelMemorySize, long maxTotalMemorySize, long keepAliveTime, TimeUnit unit, ObjectSizeEstimator objectSizeEstimator, ThreadFactory threadFactory) Creates a new instance.MemoryAwareThreadPoolExecutor
(int corePoolSize, long maxChannelMemorySize, long maxTotalMemorySize, long keepAliveTime, TimeUnit unit, ObjectSizeEstimator objectSizeEstimator, ThreadFactory threadFactory) Creates a new instance.OrderedMemoryAwareThreadPoolExecutor
(int corePoolSize, long maxChannelMemorySize, long maxTotalMemorySize, long keepAliveTime, TimeUnit unit, ObjectSizeEstimator objectSizeEstimator, ThreadFactory threadFactory) Creates a new instance.(package private)
Settings
(ObjectSizeEstimator objectSizeEstimator, long maxChannelMemorySize) -
Uses of ObjectSizeEstimator in org.jboss.netty.handler.traffic
Classes in org.jboss.netty.handler.traffic that implement ObjectSizeEstimatorModifier and TypeClassDescriptionstatic class
For simple ChannelBuffer, returns the readableBytes, else use standard DefaultObjectSizeEstimator.Fields in org.jboss.netty.handler.traffic declared as ObjectSizeEstimatorModifier and TypeFieldDescriptionprivate ObjectSizeEstimator
AbstractTrafficShapingHandler.objectSizeEstimator
ObjectSizeEstimatorMethods in org.jboss.netty.handler.traffic with parameters of type ObjectSizeEstimatorModifier and TypeMethodDescriptionprivate 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 ObjectSizeEstimatorModifierConstructorDescriptionprotected
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.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) 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) 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) -
Uses of ObjectSizeEstimator in org.jboss.netty.util
Classes in org.jboss.netty.util that implement ObjectSizeEstimatorModifier and TypeClassDescriptionclass
The defaultObjectSizeEstimator
implementation for general purpose.