Class DefaultMessageSizeEstimator

    • Field Detail

      • DEFAULT

        public static final MessageSizeEstimator DEFAULT
        Return the default implementation which returns 8 for unknown messages.
    • Constructor Detail

      • DefaultMessageSizeEstimator

        public DefaultMessageSizeEstimator​(int unknownSize)
        Create a new instance
        Parameters:
        unknownSize - The size which is returned for unknown messages.