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

Interface ITransactionAnnotationStateHandler

    • Method Detail

      • canEndTransaction

        boolean canEndTransaction()
        Returns whether a transaction can be ended, i.e. whether there is an active transaction.
        Returns:
        whether a transaction can be ended, i.e. whether there is an active transaction.
      • endTransaction

        void endTransaction(long interactionTime)
        Ends the current transaction. This has no effect if there is no active transaction.
        Parameters:
        interactionTime -
      • startTransaction

        void startTransaction(String name,
                            long interactionTime)
        Starts a new transaction, nested in the current transaction if there is one.
        Parameters:
        interactionTime -
      • getCurrentTransactionName

        String getCurrentTransactionName()
        Returns the current transaction name, or null if there is no active transaction.
        Returns:
IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2013. All rights reserved.