IBM Rational Performance Tester SDK

com.ibm.rational.test.lt.trace
Class MsgRepository

java.lang.Object
  extended by com.ibm.rational.test.lt.trace.MsgRepository

public class MsgRepository
extends Object


Constructor Summary
MsgRepository(String recmodelPath)
          Class constructor specifying various properties.
MsgRepository(String recmodelPath, boolean createAnnotationFile)
          Class constructor specifying various properties.
 
Method Summary
 void add(Msg msg)
          Adds the specified msg to the repository.
 void save()
          Saves the repository to disk.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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. 2012. All rights reserved.