Uses of Interface
org.jboss.netty.util.ObjectSizeEstimator
-
Packages that use ObjectSizeEstimator Package Description org.jboss.netty.handler.execution Executor
-based implementation of various thread models that separate business logic from I/O threadsorg.jboss.netty.handler.traffic Implementation of a Traffic Shaping Handler and Dynamic Statistics.
org.jboss.netty.util Utility classes used across multiple packages. -
-
Uses of ObjectSizeEstimator in org.jboss.netty.handler.execution
Fields in org.jboss.netty.handler.execution declared as ObjectSizeEstimator Modifier and Type Field Description (package private) ObjectSizeEstimator
MemoryAwareThreadPoolExecutor.Settings. objectSizeEstimator
Methods in org.jboss.netty.handler.execution that return ObjectSizeEstimator Modifier and Type Method Description ObjectSizeEstimator
FairOrderedDownstreamThreadPoolExecutor. getObjectSizeEstimator()
Returnnull
ObjectSizeEstimator
MemoryAwareThreadPoolExecutor. getObjectSizeEstimator()
Returns theObjectSizeEstimator
of this pool.ObjectSizeEstimator
OrderedDownstreamThreadPoolExecutor. getObjectSizeEstimator()
Returnnull
Methods in org.jboss.netty.handler.execution with parameters of type ObjectSizeEstimator Modifier and Type Method Description void
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 ObjectSizeEstimator Constructor Description FairOrderedMemoryAwareThreadPoolExecutor(int corePoolSize, long maxChannelMemorySize, long maxTotalMemorySize, long keepAliveTime, java.util.concurrent.TimeUnit unit, ObjectSizeEstimator objectSizeEstimator, java.util.concurrent.ThreadFactory threadFactory)
Creates a new instance.MemoryAwareThreadPoolExecutor(int corePoolSize, long maxChannelMemorySize, long maxTotalMemorySize, long keepAliveTime, java.util.concurrent.TimeUnit unit, ObjectSizeEstimator objectSizeEstimator, java.util.concurrent.ThreadFactory threadFactory)
Creates a new instance.OrderedMemoryAwareThreadPoolExecutor(int corePoolSize, long maxChannelMemorySize, long maxTotalMemorySize, long keepAliveTime, java.util.concurrent.TimeUnit unit, ObjectSizeEstimator objectSizeEstimator, java.util.concurrent.ThreadFactory threadFactory)
Creates a new instance.Settings(ObjectSizeEstimator objectSizeEstimator, long maxChannelMemorySize)
-
Uses of ObjectSizeEstimator in org.jboss.netty.handler.traffic
Classes in org.jboss.netty.handler.traffic that implement ObjectSizeEstimator Modifier and Type Class Description static class
AbstractTrafficShapingHandler.SimpleObjectSizeEstimator
For simple ChannelBuffer, returns the readableBytes, else use standard DefaultObjectSizeEstimator.Fields in org.jboss.netty.handler.traffic declared as ObjectSizeEstimator Modifier and Type Field Description private ObjectSizeEstimator
AbstractTrafficShapingHandler. objectSizeEstimator
ObjectSizeEstimatorMethods in org.jboss.netty.handler.traffic with parameters of type ObjectSizeEstimator Modifier and Type Method Description 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 ObjectSizeEstimator Constructor Description 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.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 ObjectSizeEstimator Modifier and Type Class Description class
DefaultObjectSizeEstimator
The defaultObjectSizeEstimator
implementation for general purpose.
-