Package org.jboss.netty.util
Interface ObjectSizeEstimator
-
- All Known Implementing Classes:
AbstractTrafficShapingHandler.SimpleObjectSizeEstimator
,DefaultObjectSizeEstimator
public interface ObjectSizeEstimator
Estimates the size of an object in bytes.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
estimateSize(java.lang.Object o)
Returns the estimated size of the specified object in bytes.
-