Class Merge


  • public final class Merge
    extends Object
    Merges the trace entries
    • Constructor Detail

      • Merge

        protected Merge​(Vector threads)
                 throws IOException
        construct the Merge object
        Parameters:
        List - of threads with trace records to merge
        Throws:
        IOException
    • Method Detail

      • getCurrentTraceRecordAndUpdateNextOldest

        protected final void getCurrentTraceRecordAndUpdateNextOldest()
        get the current Trace Record and update the nextOldest.
        Parameters:
        void -
      • getNextEntry

        protected final String getNextEntry()
                                     throws IOException
        get the next trace entry ( the oldest )
        Parameters:
        void -
        Returns:
        the formatted trace entry ( null means we are finished )
        Throws:
        IOException