コード例 #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;
 }
コード例 #2
0
 public final RemoteTransaction removeRemoteTransaction(GlobalTransaction txId) {
   RemoteTransaction removed;
   removed = remoteTransactions.remove(txId);
   releaseResources(removed);
   return removed;
 }
コード例 #3
0
 protected final LocalTransaction removeLocalTransactionInternal(Transaction tx) {
   LocalTransaction removed;
   removed = localTransactions.remove(tx);
   releaseResources(removed);
   return removed;
 }
コード例 #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;
 }