@Override public synchronized void shutdown() { for (TitanTransaction tx : openTx.keySet()) { tx.commit(); } openTx.clear(); txs = null; }
@Override public void stopTransaction(final Conclusion conclusion) { TitanTransaction tx = txs.get(); if (tx != null) { assert tx.isOpen(); tx.stopTransaction(conclusion); txs.remove(); openTx.remove(tx); } }