code: public void removeLocalTx(Xid xid) {
        EmbeddedTransaction tx = localTxTable.remove(xid);
        if (trace) {
           log.tracef("[%s] Removed tx=%s", xid, tx);
        }
     }
docs: Removes the local {@link EmbeddedTransaction} associated to {@code xid}.