## 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 threads
  org.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

    Methods in org.jboss.netty.handler.execution that return ObjectSizeEstimator
    Modifier and Type | Method and Description
    --- | ---
    `ObjectSizeEstimator` | MemoryAwareThreadPoolExecutor.`getObjectSizeEstimator()` Returns the `ObjectSizeEstimator` of this pool.
    `ObjectSizeEstimator` | OrderedDownstreamThreadPoolExecutor.`getObjectSizeEstimator()` Return `null`

    Methods in org.jboss.netty.handler.execution with parameters of type ObjectSizeEstimator
    Modifier and Type | Method and Description
    --- | ---
    `void` | MemoryAwareThreadPoolExecutor.`setObjectSizeEstimator(ObjectSizeEstimator objectSizeEstimator)` Sets the `ObjectSizeEstimator` of this pool.
    `void` | OrderedDownstreamThreadPoolExecutor.`setObjectSizeEstimator(ObjectSizeEstimator objectSizeEstimator)` Throws `UnsupportedOperationException` as there is not support for limit the memory size in this implementation

    Constructors in org.jboss.netty.handler.execution with parameters of type ObjectSizeEstimator
    Constructor and Description
    `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.

  - ### Uses of ObjectSizeEstimator in org.jboss.netty.handler.traffic

    Constructors in org.jboss.netty.handler.traffic with parameters of type ObjectSizeEstimator
    Constructor and Description
    `AbstractTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator, Timer timer)` Constructor using the specified ObjectSizeEstimator and using NO LIMIT and default Check Interval
    `AbstractTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator, Timer timer, long checkInterval)` Constructor using the specified ObjectSizeEstimator and using NO LIMIT
    `AbstractTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator, Timer timer, long writeLimit, long readLimit)` Constructor using the specified ObjectSizeEstimator and using default Check Interval
    `AbstractTrafficShapingHandler(ObjectSizeEstimator objectSizeEstimator, Timer timer, long writeLimit, long readLimit, long checkInterval)` 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)`
    `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)`

  - ### Uses of ObjectSizeEstimator in org.jboss.netty.util

    Classes in org.jboss.netty.util that implement ObjectSizeEstimator
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DefaultObjectSizeEstimator` The default `ObjectSizeEstimator` implementation for general purpose.

Copyright © 2008-2012 The Netty Project. All Rights Reserved.