tibasMetaspace_CommitTransaction()

Commits all the space operations invoked since the tibasMetaspace_BeginTransaction()function or the tibasMetaspace_AcquireContext() function was called.

Declaration

tibas_status tibasMetaspace_CommitTransaction
(tibasMetaspace  metaspace)

Parameters

Parameter Description
metaspace The TIBCO ActiveSpaces entity on which the function is invoked.

Remarks

Use the tibasMetaspace_CommitTransaction() function to commit a transaction that has been initiated by the tibasMetaspace_BeginTransaction()function. When you commit the transaction, all of the operations accumulated in the current thread where tibasMetaspace_BeginTransaction() was invoked are executed.

In general, call tibasMetaspace_CommitTransaction() if none of the operations in the transaction failed; otherwise, call tibasMetaspaceRollbackTransaction() to roll back the operations.