clear method

void clear()

Clears all transactions

Implementation

void clear() {
  abortAllTransactions();
  _transactions.clear();
}