T - public class DefaultSizeEstimator<T> extends Object implements SizeEstimator<T>
| Constructor and Description |
|---|
DefaultSizeEstimator() |
| Modifier and Type | Method and Description |
|---|---|
long |
sizeEstimate(T t)
This method is used to estimate the size of a payload in memory.
|
public long sizeEstimate(T t)
SizeEstimatorsizeEstimate in interface SizeEstimator<T>Copyright © 2021 The Apache Software Foundation. All rights reserved.