@Override protected boolean operateOnTx(TXId txId,DistributionManager dm) { GemFireCacheImpl cache = GemFireCacheImpl.getInstance(); if (cache == null) { throw new CacheClosedException(LocalizedStrings.CacheFactory_A_CACHE_HAS_NOT_YET_BEEN_CREATED.toLocalizedString()); } TXManagerImpl txMgr = cache.getTXMgr(); if (logger.isDebugEnabled()) { logger.debug("TX: Rolling back :{}", txId); } try { if (!txMgr.isHostedTxRecentlyCompleted(txId)) { txMgr.rollback(); } } finally { txMgr.removeHostedTXState(txId); } return true; }
try { if (txMgr.isHostedTxRecentlyCompleted(txId)) { if (logger.isDebugEnabled()) { logger
assert (!txMgr.isHostedTxRecentlyCompleted(txId));
int uniqId = msg.getTransactionId(); TXId txId = new TXId(client, uniqId); if (txMgr.isHostedTxRecentlyCompleted(txId)) { if (logger.isDebugEnabled()) { logger.debug("TX: found a recently rolled back tx: {}", txId);
try { if (txMgr.isHostedTxRecentlyCompleted(txId)) { if (logger.isDebugEnabled()) { logger.debug("TX: found a previously committed transaction:{}", txId);
try { if (txMgr.isHostedTxRecentlyCompleted(txId)) { if (logger.isDebugEnabled()) { logger
TXManagerImpl mgr = (TXManagerImpl) cache.getCacheTransactionManager(); reply.isHostingTx = mgr.isHostedTxInProgress(txId) || mgr.isHostedTxRecentlyCompleted(txId); if (!reply.isHostingTx) {
TXManagerImpl mgr = (TXManagerImpl) servConn.getCache().getCacheTransactionManager(); if (mgr.isHostedTxRecentlyCompleted(txId)) { writeReply(msg, servConn); servConn.setAsTrue(RESPONDED);
TXId txId = new TXId(client, uniqId); TXCommitMessage commitMsg = null; if (txMgr.isHostedTxRecentlyCompleted(txId)) { commitMsg = txMgr.getRecentlyCompletedMessage(txId); if (logger.isDebugEnabled()) {