Class tx

java.lang.Object
com.arjuna.ats.jts.tx.tx

public class tx extends Object
  • Field Details

  • Constructor Details

    • tx

      public tx()
  • Method Details

    • tx_open

      public static final int tx_open()
    • tx_close

      public static final int tx_close()
      The X/Open spec. says to raise TX_PROTOCOL_ERROR if called from within a transaction. However, the OTS spec. implies there is no mapping for tx_close. So, do nothing.
    • tx_disable_nesting

      public static final int tx_disable_nesting()
    • tx_allow_nesting

      public static final int tx_allow_nesting()
    • tx_begin

      public static final int tx_begin()
    • tx_rollback

      public static final int tx_rollback()
      This needs to implement checked transactions such that only the transaction initiator (thread) can terminate it.
    • tx_set_commit_return

      public static final int tx_set_commit_return(int when_return)
    • tx_commit

      public static final int tx_commit()
    • tx_set_transaction_control

      public static final int tx_set_transaction_control(int control)
    • tx_set_transaction_timeout

      public static final int tx_set_transaction_timeout(int timeout)