com.ibm.ctg.monitoring

Enum TransactionType

  • java.lang.Object
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<TransactionType>


    public enum TransactionType
    extends java.lang.Enum<TransactionType>
    Flows on a request can be part of different transactions. This enumeration defines the type of transaction for this FlowType.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      ExtendedMode
      Part of an extended mode transaction.
      None
      Not part of any extended flow.
      Synconreturn
      ECI SYNCONRETURN transaction.
      Unknown
      Transaction type that is not yet defined.
      Xa
      Part of an XA transaction.
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static TransactionType valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static TransactionType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • Unknown

        public static final TransactionType Unknown
        Transaction type that is not yet defined.
      • None

        public static final TransactionType None
        Not part of any extended flow. Could be transactionless information request.
      • Synconreturn

        public static final TransactionType Synconreturn
        ECI SYNCONRETURN transaction. Transaction completes in one flow.
      • Xa

        public static final TransactionType Xa
        Part of an XA transaction. An XID is available in RequestData. A URID is available in RequestData if the transaction is flowing over an EXCI connection.
      • ExtendedMode

        public static final TransactionType ExtendedMode
        Part of an extended mode transaction. An LUW token is available in RequestData, except on the RequestEntry of the first request of the transaction.
    • Method Detail

      • values

        public static TransactionType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (TransactionType c : TransactionType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TransactionType valueOf(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
©Copyright IBM Corp. 1994, 2013
Legal