CICS® Transaction Gateway Programming Reference v1.1.0.0

com.ibm.ctg.monitoring
Enum FlowType

java.lang.Object
  extended by java.lang.Enum<FlowType>
      extended by com.ibm.ctg.monitoring.FlowType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FlowType>

public enum FlowType
extends java.lang.Enum<FlowType>

Flows on requests are of different types. They are part or otherwise of different TransactionTypes and different RequestTypes.


Enum Constant Summary
EciStatus
          Status request (including list systems).
EciSynconreturn
          ECI synconreturn.
ExtendedModeCommit
          Extended mode commit flow.
ExtendedModeEci
          Extended mode ECI flow.
ExtendedModeRollback
          Extended mode roll back flow.
Unknown
          Flow type that is not yet defined.
Xa1PhaseCommit
          Optimized one phase commit on XA transaction.
XaCommit
          Commit an XA transaction.
XaEci
          ECI flow as part of an XA transaction.
XaForget
          Forget an XA transaction.
XaPrepare
          Prepare the XA transaction.
XaRecover
          Not part of an XA transaction.
XaRollback
          Roll back an XA transaction.
XaStart
          Start of an XA transaction.
 
Method Summary
 RequestType getRequestType()
           
 TransactionType getTransactionType()
           
static FlowType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static FlowType[] values()
          Returns an array containing the constants of this enum type, in the order they're 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 FlowType Unknown
Flow type that is not yet defined.


EciStatus

public static final FlowType EciStatus
Status request (including list systems).


EciSynconreturn

public static final FlowType EciSynconreturn
ECI synconreturn.


ExtendedModeEci

public static final FlowType ExtendedModeEci
Extended mode ECI flow. LUW available.


ExtendedModeCommit

public static final FlowType ExtendedModeCommit
Extended mode commit flow. This may consist of an ECI flow, but on ResponseExit the LUW has ended.


ExtendedModeRollback

public static final FlowType ExtendedModeRollback
Extended mode roll back flow. On ResponseExit the LUW has ended.


XaStart

public static final FlowType XaStart
Start of an XA transaction.


XaEci

public static final FlowType XaEci
ECI flow as part of an XA transaction. XID is available.


Xa1PhaseCommit

public static final FlowType Xa1PhaseCommit
Optimized one phase commit on XA transaction. No prepare phase.


XaPrepare

public static final FlowType XaPrepare
Prepare the XA transaction. Could be the end of this transaction on this process as XA transactions can be completed by another Gateway daemon in the same group.


XaCommit

public static final FlowType XaCommit
Commit an XA transaction. End of this transaction, unless heuristic failure return code when forget will be required.


XaRollback

public static final FlowType XaRollback
Roll back an XA transaction.


XaForget

public static final FlowType XaForget
Forget an XA transaction.


XaRecover

public static final FlowType XaRecover
Not part of an XA transaction. Request for in-doubt transactions.

Method Detail

values

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

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static FlowType 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

getTransactionType

public TransactionType getTransactionType()
Returns:
TransactionType for this FlowType

getRequestType

public RequestType getRequestType()
Returns:
RequestType for this FlowType

©Copyright IBM Corp. 1994, 2014
Legal