Class TransactionState


  • public class TransactionState
    extends java.lang.Object
    Class containing constants for transaction states.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int COMMITTED
      Transaction was committed.
      static int COMPLETE
      Transaction completed.
      static int CREATED
      Transaction was created.
      static int FAILED
      Transaction failed.
      static int INCOMPLETE
      Transaction incomplete.
      static int PREPARED
      Transaction is in prepared state.
      static int ROLLEDBACK
      Transaction was rolled back.
      static int STARTED
      Transaction was started.
      static int TIMED_OUT
      Transaction timed out.
      static int UNKNOWN
      Unknown transaction state.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String toString​(int state)
      Returns a string representation of the specified transaction state.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • toString

        public static java.lang.String toString​(int state)
        Returns a string representation of the specified transaction state.
        Parameters:
        state - Transaction state.
        Returns:
        String representation of the specified transaction state.