Class TraceRecord

    • Field Detail

      • TRACERECORD_HEADER_SIZE

        public static final int TRACERECORD_HEADER_SIZE
        See Also:
        Constant Field Values
    • Method Detail

      • appendToStream

        public int appendToStream​(ByteStream stream,
                                  boolean newThread)
        Appends the body of the data from this trace record to the stream IN CHRONOLOGICAL ORDER. This means that if the buffer wrapped at all the data will be reordered so that reading from the bytestream will return data correctly ordered for reading as a continuous temporal stream.
        Parameters:
        stream - - the stream onto which the record should be appended
        newThread - - indicates whether this is the first record on a thread
        Returns:
        the number of bytes appended
      • summary

        public String summary()