checkPointTransaction

 

 

Overview

The checkPointTransaction function closes the specified ObjectRepository database archive file {aGor} and marks the end of a series of transactions. When a beginTransaction function is evaluated, the ObjectRepository treats all transactions as temporary until either of the abortTransaction, checkPointTransaction, or commitTransaction functions are evaluated. If an abortTransaction function is evaluated, all objects stored in the ObjectRepository, up to the previous beginTransaction, are rolled back; however, if a checkPointTransaction or a commitTransaction function is evaluated, all objects stored in the ObjectRepository, up to the previous beginTransaction, are made persistent.

Usage

The checkPointTransaction function leaves the ObjectRepository with the current transaction still in progress. The checkPointTransaction function is equivalent to invoking a commitTransaction function immediately followed by another beginTransaction function.

 

Syntax


Expression:

(checkPointTransaction aGor)


Arguments Name Type Description
Argument:aGorObjectRepository The ObjectRepository whose database archive file is to be closed, then re-opened again.

Returns: This function returns the Boolean value true, or an error value if an error occurred.


 

Examples

Here are a number of links to Lambda coding examples which contain this instruction in various use cases.

 

Argument Types

Here are the links to the data types of the function arguments.

ObjectRepository Boolean

Here are also a number of links to functions having arguments with any of these data types.

abortTransaction addMethod attachLibrarian badd
bcompareEQ bcompareGE bcompareGT bcompareLE
bcompareLT bcompareNE bdiv beginTransaction
binaryInsert binaryNand binaryNor binaryNot
binaryNxor binarySearch bitwiseAnd bitwiseNand
bitwiseNor bitwiseNot bitwiseNxor bitwiseOr
bitwiseShiftLeft bitwiseShiftRight bitwiseXor bmod
bmul boolean ccompareEQ ccompareGE
ccompareGT ccompareLE ccompareLT ccompareNE
character checkPointTransaction clear commitTransaction
compareEQ compareGE compareGT compareLE
compareLT compareNE compare comparison
compile cons debug delete
detachLibrarian disassemble display exportCsv
exportSbf exportTab fdisplay fileClose
fileCopy fileDir fileDisplay fileErase
fileOpen fileRead fileWrite filewriteln
findBlock gc icompareEQ icompareGE
icompareGT icompareLE icompareLT icompareNE
importCsv importSbf importTab inside
inspect integer isAtom isBitVector
isBoolean isBound isByteVector isCharAlphabetic
isCharAlphanumeric isCharLowercase isCharName isCharNumeric
isCharUppercase isCharWhitespace isCharacter isComplex
isDate isDirectory isEqual isError
isEven isExact isFloatVector isIdentical
isImmediate isInexact isInside isIntegerVector
isInteger isMatrix isMember isMoney
isNegative isNull isNumberMatrix isNumberVector
isNumber isObjectVector isObject isOdd
isPair isPcodeVector isPositive isTransaction
isType isVector isZero length
lisp list loadModule loadRepository
loadWorkspace logConsole macroReplace makeQuotedList
member methodsOf money morph
ncompareEQ ncompareGE ncompareGT ncompareLE
ncompareLT ncompareNE new number
onError pair quit refLibrarian
ref remove rename reset
saveImmediate saveModule saveObject saveRepository
saveWorkspace setBlock setCar set
setf setq sizeof sort
stringCiEQ stringCiGE stringCiGT stringCiLE
stringCiLT stringCiNE substringCiEQ substringCiGE
substringCiGT substringCiLE substringCiLT substringCiNE
substringEQ substringGE substringGT substringLE
substringLT substringNE systemCheck vectorFill
version writelg writeln

Analytic Information Server (AIS)

AIS Component Systems

  • Smartbase Engine
  • QT C++ Libraries
  • MySQL Relational Database
  • AIS Lisp Libraries
  • Rapid Analytic Demo IDE