public class DefaultObjectSizeEstimator extends Object implements ObjectSizeEstimator
ObjectSizeEstimator implementation for general purpose.| Constructor and Description |
|---|
DefaultObjectSizeEstimator()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
int |
estimateSize(Object o)
Returns the estimated size of the specified object in bytes.
|
public DefaultObjectSizeEstimator()
public int estimateSize(Object o)
ObjectSizeEstimatorestimateSize in interface ObjectSizeEstimatorCopyright © 2008-2017 The Netty Project. All Rights Reserved.