Class TraceRecordExternal

  • All Implemented Interfaces:
    Comparable

    public final class TraceRecordExternal
    extends TraceRecord
    Extends Trace Record. Special processing needed for external trace records.
    • Field Detail

      • spannedEntrySoFar

        protected byte[] spannedEntrySoFar
      • spanEntry

        protected byte[] spanEntry
    • Method Detail

      • prime

        protected void prime()
                      throws IOException
        reads in the record data for this TraceRecord
        Throws:
        IOException
      • getNextEntry

        protected int getNextEntry()
                            throws IOException
        Get the next Trace Entry return 0=no more entries 1=last entry not yet formatted
        Throws:
        IOException
      • spanStart

        protected final void spanStart​(byte[] startofSpanEntry,
                                       int startofSpanEntrySize)
        This is called from previous TraceRecord and contains the start of the spanned entry
      • copySpannedEntryForNextRecord

        protected final void copySpannedEntryForNextRecord​(byte[] buffer,
                                                           int start,
                                                           int end)
        The end of our Trace Record is copied to the next record