Class BEGIN_MODE

Object
BEGIN_MODE

public class BEGIN_MODE extends Object
Begin mode to be used on a CTBase.SetTransactionMode(int) call
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Automatically invokes savepoints after each successful record or resource update.
    static final int
    Defer begin transaction until update.
    static final int
    No begin transaction mode set.
    static final int
    Transaction atomicity only.
    static final int
    Full transaction processing functionality including auto-recovery.
    static final int
    Enable two-phase commit transaction mode.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • NONE

      public static final int NONE
      No begin transaction mode set. Default mode apply.
      See Also:
    • PREIMG

      public static final int PREIMG
      Transaction atomicity only. Auto-recovery is not available. Mutually exclusive with BEGIN_MODE.TRNLOG.
      See Also:
    • TRNLOG

      public static final int TRNLOG
      Full transaction processing functionality including auto-recovery. Mutually exclusive to BEGIN_MODE.PREIMG. This is the default begin transaction mode.
      See Also:
    • DEFER

      public static final int DEFER
      Defer begin transaction until update.
      See Also:
    • AUTOSAVE

      public static final int AUTOSAVE
      Automatically invokes savepoints after each successful record or resource update.
      See Also:
    • TWOPHASE

      public static final int TWOPHASE
      Enable two-phase commit transaction mode. ctdbPrepareCommit() is called for "first phase commit", then ctdbCommit() for the "second phase commit"
      See Also:
  • Constructor Details

    • BEGIN_MODE

      public BEGIN_MODE()