Interface SubordinateTransactionControl


public interface SubordinateTransactionControl
The control interface for subordinate transactions. This interface is used in the following cases:
  • When a subordinate transaction is locally inflowed, an instance of this interface is used to control the lifecycle of the local transaction (the transaction's lifecycle methods are blocked in this case).
  • The local handle for a subordinate transaction implements this interface.
Author:
David M. Lloyd
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    An empty subordinate transaction controller.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Perform before-commit operations, including running all transaction synchronizations.
    void
    commit(boolean onePhase)
    Commit a transaction, either in a single phase or after a previous prepare.
    void
    end(int flags)
    End work on behalf of a transaction branch, disassociating the subordinate from the transaction branch.
    void
    Forget the (previously prepared) transaction.
    int
    Prepare the transaction.
    void
    Roll back the subordinate.