Package FairCom.CtreeDb.Types
Class BEGIN_MODE
Object
BEGIN_MODE
Begin mode to be used on a
CTBase.SetTransactionMode(int)
call-
Field Summary
Modifier and TypeFieldDescriptionstatic 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
-
Method Summary
-
Field Details
-
NONE
public static final int NONENo begin transaction mode set. Default mode apply.- See Also:
-
PREIMG
public static final int PREIMGTransaction atomicity only. Auto-recovery is not available. Mutually exclusive with BEGIN_MODE.TRNLOG.- See Also:
-
TRNLOG
public static final int TRNLOGFull 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 DEFERDefer begin transaction until update.- See Also:
-
AUTOSAVE
public static final int AUTOSAVEAutomatically invokes savepoints after each successful record or resource update.- See Also:
-
TWOPHASE
public static final int TWOPHASEEnable 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()
-