Class TwoPhaseOutcome


  • public class TwoPhaseOutcome
    extends java.lang.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)
    • Constructor Detail

      • TwoPhaseOutcome

        public TwoPhaseOutcome​(int outcome)
    • Method Detail

      • setOutcome

        public void setOutcome​(int outcome)
      • getOutcome

        public int getOutcome()
      • stringForm

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

        public static void print​(java.io.PrintWriter strm,
                                 int res)