@Override
public void setTransactionManager(TransactionManager tm) {
form.edit(tm);
executionMetric.addSample(
new TXMetric(
tm.getNumTransactions(),
tm.getNumCommittedTransactions(),
tm.getNumAbortedTransactions(),
tm.getNumTimeoutTransactions())
);