BangDB Transaction (Embedded) Type
BangDB Transaction (Embedded) provides a mechanism to bundle a set of operations in a transaction to ensure atomicity for all the bundled operations. BangDB implements Optimistic Concurrency Control (OCC) to implement the transaction.
Note that we create transaction object of BangDBTransaction type,
but we begin, commit or abort using the BangDBDatabase type, see BangDBDatabase for more the details for these APIs
but we begin, commit or abort using the BangDBDatabase type, see BangDBDatabase for more the details for these APIs
C++
Java
To create transaction object
Transaction();To check
bool isActive();To delete transaction object
virtual ~Transaction();