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) ObjectSizeEstimatorMemoryAwareThreadPoolExecutor.Settings. objectSizeEstimatorMethods in org.jboss.netty.handler.execution that return ObjectSizeEstimator Modifier and Type Method Description ObjectSizeEstimatorFairOrderedDownstreamThreadPoolExecutor. getObjectSizeEstimator()ReturnnullObjectSizeEstimatorMemoryAwareThreadPoolExecutor. getObjectSizeEstimator()Returns theObjectSizeEstimatorof this pool.ObjectSizeEstimatorOrderedDownstreamThreadPoolExecutor. getObjectSizeEstimator()ReturnnullMethods in org.jboss.netty.handler.execution with parameters of type ObjectSizeEstimator Modifier and Type Method Description voidFairOrderedDownstreamThreadPoolExecutor. setObjectSizeEstimator(ObjectSizeEstimator objectSizeEstimator)ThrowsUnsupportedOperationExceptionas there is not support for limit the memory size in this implementationvoidMemoryAwareThreadPoolExecutor. setObjectSizeEstimator(ObjectSizeEstimator objectSizeEstimator)Sets theObjectSizeEstimatorof this pool.voidOrderedDownstreamThreadPoolExecutor. setObjectSizeEstimator(ObjectSizeEstimator objectSizeEstimator)ThrowsUnsupportedOperationExceptionas 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 classAbstractTrafficShapingHandler.SimpleObjectSizeEstimatorFor 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 ObjectSizeEstimatorAbstractTrafficShapingHandler. objectSizeEstimatorObjectSizeEstimatorMethods in org.jboss.netty.handler.traffic with parameters of type ObjectSizeEstimator Modifier and Type Method Description private voidAbstractTrafficShapingHandler. 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 classDefaultObjectSizeEstimatorThe defaultObjectSizeEstimatorimplementation for general purpose.
-