Interface MatsSerializer.SerializedMatsTrace

  • Enclosing interface:
    MatsSerializer<Z>

    public static interface MatsSerializer.SerializedMatsTrace
    • Method Detail

      • getMeta

        java.lang.String getMeta()
        Returns:
        the "meta" information about this serialization (think "envelope" in network protocol terms) - currently describes which compression algorithm is in use, or if it is uncompressed. Needs to be provided back to the deserialization method.
        See Also:
        MatsSerializer.META_KEY_POSTFIX
      • getSizeUncompressed

        int getSizeUncompressed()
        Returns:
        the number of bytes the trace became before compression. (The number after compression is just to do '.length' on the bytes.
      • getNanosSerialization

        long getNanosSerialization()
        Returns:
        how long time the serialization process took, in milliseconds.
      • getSizeCompressed

        default int getSizeCompressed()
        Returns:
        getMatsTraceBytes().length
      • getNanosCompression

        long getNanosCompression()
        Returns:
        how long time the (optional) compression process took, in milliseconds - will be 0 if no compression took place.