07-Transactions_Policy

This sample sets the transaction commit policy. The application demonstrates the use of function mco_disk_transaction_policy() and the different behavior with the three commit policies MCO_COMMIT_BUFFERED, MCO_COMMIT_NO_SYNC and MCO_COMMIT_SYNC_FLUSH.

How to Run

See instructions here on how to build this and other samples on your development platform. Once built, the sample can be run from the \target\bin directory:

 
    07_transactions_policy
     

But it is more instructive to run it in your development environment debugger, stepping through the code.

Related Topics Link IconRelated Topics