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)
ObjectSizeEstimator
estimateSize
in interface ObjectSizeEstimator
estimateSize
in class DefaultObjectSizeEstimator
Copyright © 2008–2024 The Netty Project. All rights reserved.