public static class AbstractTrafficShapingHandler.SimpleObjectSizeEstimator extends DefaultObjectSizeEstimator
| Constructor and Description |
|---|
SimpleObjectSizeEstimator() |
| Modifier and Type | Method and Description |
|---|---|
int |
estimateSize(Object o)
Returns the estimated size of the specified object in bytes.
|
public int estimateSize(Object o)
ObjectSizeEstimatorestimateSize in interface ObjectSizeEstimatorestimateSize in class DefaultObjectSizeEstimatorCopyright © 2008–2019 The Netty Project. All rights reserved.