public static class AbstractTrafficShapingHandler.SimpleObjectSizeEstimator extends DefaultObjectSizeEstimator
| 构造器和说明 |
|---|
AbstractTrafficShapingHandler.SimpleObjectSizeEstimator() |
| 限定符和类型 | 方法和说明 |
|---|---|
int |
estimateSize(java.lang.Object o)
Returns the estimated size of the specified object in bytes.
|
public AbstractTrafficShapingHandler.SimpleObjectSizeEstimator()
public int estimateSize(java.lang.Object o)
ObjectSizeEstimatorestimateSize 在接口中 ObjectSizeEstimatorestimateSize 在类中 DefaultObjectSizeEstimator