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.

C++
Java

To create transaction object

Transaction();

To check status of the transaction

bool isActive();

To delete transaction object

virtual ~Transaction();

To create transaction object

public Transaction()

To check status of the transaction

public boolean isActive()

To close transaction

public synchronized void close()