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 ObjectSizeEstimatorMemoryAwareThreadPoolExecutor.Settings.objectSizeEstimatorMethods in org.jboss.netty.handler.execution that return ObjectSizeEstimatorModifier and TypeMethodDescriptionFairOrderedDownstreamThreadPoolExecutor.getObjectSizeEstimator()ReturnnullMemoryAwareThreadPoolExecutor.getObjectSizeEstimator()Returns theObjectSizeEstimatorof this pool.OrderedDownstreamThreadPoolExecutor.getObjectSizeEstimator()ReturnnullMethods in org.jboss.netty.handler.execution with parameters of type ObjectSizeEstimatorModifier and TypeMethodDescriptionvoidFairOrderedDownstreamThreadPoolExecutor.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 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 classFor simple ChannelBuffer, returns the readableBytes, else use standard DefaultObjectSizeEstimator.Fields in org.jboss.netty.handler.traffic declared as ObjectSizeEstimatorModifier and TypeFieldDescriptionprivate ObjectSizeEstimatorAbstractTrafficShapingHandler.objectSizeEstimatorObjectSizeEstimatorMethods in org.jboss.netty.handler.traffic with parameters of type ObjectSizeEstimatorModifier and TypeMethodDescriptionprivate 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 ObjectSizeEstimatorModifierConstructorDescriptionprotectedAbstractTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator, Timer timer) protectedAbstractTrafficShapingHandler(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.protectedAbstractTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator, Timer timer, long writeLimit, long readLimit) protectedAbstractTrafficShapingHandler(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.protectedAbstractTrafficShapingHandler(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 TypeClassDescriptionclassThe defaultObjectSizeEstimatorimplementation for general purpose.