Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 public final RemoteTransaction removeRemoteTransaction(GlobalTransaction txId) {
   RemoteTransaction removed;
   removed = remoteTransactions.remove(txId);
   releaseResources(removed);
   return removed;
 }
Exemplo n.º 3
0
 protected final LocalTransaction removeLocalTransactionInternal(Transaction tx) {
   LocalTransaction removed;
   removed = localTransactions.remove(tx);
   releaseResources(removed);
   return removed;
 }
Exemplo n.º 4
0
 public final RemoteTransaction removeRemoteTransaction(GlobalTransaction txId) {
   RemoteTransaction removed = remoteTransactions.remove(txId);
   log.tracef("Removed remote transaction %s ? %s", txId, removed);
   releaseResources(removed);
   return removed;
 }