Class TwoPhaseOutcome

java.lang.Object
com.arjuna.ats.arjuna.coordinator.TwoPhaseOutcome

public class TwoPhaseOutcome extends Object
The outcomes which can be generated when a transaction attempts to prepare/commit/rollback.
Since:
JTS 1.0.
Version:
$Id: TwoPhaseOutcome.java 2342 2006-03-30 13:06:17Z $
Author:
Mark Little (mark@arjuna.com)
  • Field Details

  • Constructor Details

    • TwoPhaseOutcome

      public TwoPhaseOutcome(int outcome)
  • Method Details

    • setOutcome

      public void setOutcome(int outcome)
    • getOutcome

      public int getOutcome()
    • stringForm

      public static String stringForm(int res)
      Returns:
      String representation of the status.
    • print

      public static void print(PrintWriter strm, int res)