com.ibm.rational.test.lt.trace

Class MsgRepository



  • public class MsgRepository
    extends Object
    • Constructor Detail

      • MsgRepository

        public MsgRepository(String recmodelPath)
        Class constructor specifying various properties.
        Parameters:
        recmodelPath - the path to the recording file (example '/testproj/test1.recmodel')
      • MsgRepository

        public MsgRepository(String recmodelPath,
                     boolean createAnnotationFile)
                      throws TraceException
        Class constructor specifying various properties.
        Parameters:
        recmodelPath - the path to the recording file (example '/testproj/test1.recmodel')
        createAnnotationFile - set to true if a new Annotation File is needed
        Throws:
        TraceException
    • Method Detail

      • add

        public void add(Msg msg)
                 throws TraceException
        Adds the specified msg to the repository. Used by recorder data processor running on WB (after accepting data from recorder agent) to place data into repository.
        Parameters:
        msg - the Msg object to add to the repository.
        Throws:
        TraceException - if the Msg is a UDMethodXxx object and it has an invalid "id"
      • save

        public void save()
                  throws TraceException
        Saves the repository to disk. Used by recorder data processor running on the WorkBench to persist the repository into the work-space (that is, write out the .recmodel file).
        Throws:
        TraceException
IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2013. All rights reserved.