-
- Enclosing interface:
- MessageSizeEstimator
public static interface MessageSizeEstimator.Handle
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
size(Object msg)
Calculate the size of the given message.
-
-
-
Method Detail
-
size
int size(Object msg)
Calculate the size of the given message.- Parameters:
msg
- The message for which the size should be calculated- Returns:
- size The size in bytes. The returned size must be >= 0
-
-