private void cleanupTransasction(TXStateProxy tx) { if (this.txUniqId != TXManagerImpl.NOTX) { GemFireCacheImpl cache = GemFireCacheImpl.getInstance(); if(cache==null) { // ignore and return, we are shutting down! return; } TXManagerImpl mgr = cache.getTXMgr(); mgr.unmasquerade(tx); } }
private void cleanupTransasction(TXStateProxy tx) { if (this.txUniqId != TXManagerImpl.NOTX) { GemFireCacheImpl cache = GemFireCacheImpl.getInstance(); if(cache==null) { // ignore and return, we are shutting down! return; } TXManagerImpl mgr = cache.getTXMgr(); mgr.unmasquerade(tx); } }
private void cleanupTransaction(final TXManagerImpl.TXContext context, final DistributionManager dm) { if (getTXId() != null) { final GemFireCacheImpl cache = GemFireCacheImpl.getInstance(); if (cache == null) { // ignore and return, we are shutting down! return; } TXManagerImpl mgr = cache.getTxManager(); mgr.unmasquerade(context, true); } }
private void cleanupTransaction(final TXManagerImpl.TXContext context, final DistributionManager dm) { if (getTXId() != null) { final GemFireCacheImpl cache = GemFireCacheImpl.getInstance(); if (cache == null) { // ignore and return, we are shutting down! return; } TXManagerImpl mgr = cache.getTxManager(); mgr.unmasquerade(context, true); } }
failureException = e; } finally { txMgr.unmasquerade(txState);
Thread.currentThread().interrupt(); } finally { txMgr.unmasquerade(txState);
sendReply = operateOnTx(txId,dm); } finally { txMgr.unmasquerade(tx);
} finally { if (getLockingPolicy() == LockingPolicy.SNAPSHOT) { txMgr.unmasquerade(context, true);
txMgr.unmasquerade(context, false);
txMgr.unmasquerade(context, true);
sendReply = operateOnPartitionedRegion(dm, pr, startTime); } finally { txMgr.unmasquerade(tx);
sendReply = operateOnRegion(dm, r, startTime); } finally { txMgr.unmasquerade(tx);
txMgr.unmasquerade(context, true);
if (dm != null) { if (txContext != null) { txMgr.unmasquerade(txContext, true); } else { cache = Misc.getGemFireCache(); txMgr = cache.getTxManager(); txMgr.unmasquerade(TXManagerImpl.currentTXContext(), true);
if (dm != null) { if (txContext != null) { txMgr.unmasquerade(txContext, true); } else { cache = Misc.getGemFireCache(); txMgr = cache.getTxManager(); txMgr.unmasquerade(TXManagerImpl.currentTXContext(), true);
if (dm != null) { if (txContext != null) { txMgr.unmasquerade(txContext, true); } else { cache = Misc.getGemFireCache(); txMgr = cache.getTxManager(); txMgr.unmasquerade(TXManagerImpl.currentTXContext(), true);
cmdExecute(msg, servConn, start); } finally { txMgr.unmasquerade(tx);
cmdExecute(msg, servConn, start); } finally { txMgr.unmasquerade(txContext, true);
sendReply = operateOnTX(proxy, dm); } finally { txMgr.unmasquerade(txContext, useBatching); postOperateOnTX(proxy, dm);
sendReply = operateOnRegion(dm, r, startTime); } finally { txMgr.unmasquerade(context, true);