protected final LocalTransaction removeLocalTransactionInternal(Transaction tx) { LocalTransaction localTx = localTransactions.get(tx); if (localTx != null) { globalToLocalTransactions.remove(localTx.getGlobalTransaction()); localTransactions.remove(tx); releaseResources(localTx); } return localTx; }
public final RemoteTransaction removeRemoteTransaction(GlobalTransaction txId) { RemoteTransaction removed; removed = remoteTransactions.remove(txId); releaseResources(removed); return removed; }
protected final LocalTransaction removeLocalTransactionInternal(Transaction tx) { LocalTransaction removed; removed = localTransactions.remove(tx); releaseResources(removed); return removed; }
public final RemoteTransaction removeRemoteTransaction(GlobalTransaction txId) { RemoteTransaction removed = remoteTransactions.remove(txId); log.tracef("Removed remote transaction %s ? %s", txId, removed); releaseResources(removed); return removed; }