com.ibm.rational.test.lt.recorder.core.session

Interface IRecorder

    • Method Detail

      • start

        void start()
      • stop

        void stop()
      • pause

        void pause()
      • resume

        void resume()
      • getState

        RecorderState getState()
        Returns the current state of the recorder. Note that when state is tested for a decision based on its value, the call to this method, the test, and the decision should be grouped together in a synchronized block on this component.
        For instance:
         synchronized(recorder) {
           if (recorder.getState() == RecorderState.RECORDING) {
             recorder.pause(); // This method may throw an IllegalStateException
                               // if invoked while the recorder is in STOPPING state
           }
         }
         
        Returns:
        the current state of the recorder
      • isPauseSupported

        boolean isPauseSupported()
        Returns whether IRecorder.pause() and IRecorder.resume() operations are supported by this recorder. These are optional operations and any invocation to these methods, if not supported, will have no effect.
        Returns:
        whether IRecorder.pause() and IRecorder.resume() operations are supported by this recorder.
IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2013. All rights reserved.