bg
BangDB Transaction (Embedded) – BangDB = NoSQL + AI + Stream

BangDB Transaction (Embedded)

chevron

BangDBTransaction Type

For Embedded BangDB

BangDB Transaction 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

C++

Selected

Java

Selected

To create transaction object

Transaction();
To check
bool isActive();
To delete transaction object
virtual ~Transaction();

To create transaction object

public Transaction()
To check status of transaction
public boolean isActive()
To close transaction
public synchronized void close()