Transactable Protocol Reference

Declared in Transactable.h

Overview

General interface for transaction managers.

– beginTransaction required method

Create new transaction entry.

- (TransactionId *)beginTransaction

Return Value

Unique id of created transaction.

Discussion

Create new transaction entry.

Declared In

Transactable.h

– commitTransactionWithId: required method

Submit the transaction

- (void)commitTransactionWithId:(TransactionId *)trxId

Parameters

trxId

The unique identifier of the transaction which should be submitted.

Discussion

Submit the transaction

Declared In

Transactable.h

– rollbackTransactionWithId: required method

Revert the transaction

- (void)rollbackTransactionWithId:(TransactionId *)trxId

Parameters

trxId

The unique identifier of the transaction which should be reverted.

Discussion

Revert the transaction

Declared In

Transactable.h