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