/** * Add a new resource to a recovered transaction. This is * primarily to allow a new resource that has been provided * through a replay_completion to be added to the transaction and * thereby replacing the original resource that was passed in on * register_resource. */ public void addResourceRecord (Uid rcUid, Resource r) { if (jtsLogger.logger.isDebugEnabled()) { jtsLogger.logger.debug("CachedRecoveredTransaction.addResourceRecord [" + _theTransactionUid + ", " + _theTransactionType + "]" + "(" + rcUid + ")"); } TransactionCache.addResourceRecord(_theTransactionUid, _theTransactionType, rcUid, r); }
/** * Add a new resource to a recovered transaction. This is * primarily to allow a new resource that has been provided * through a replay_completion to be added to the transaction and * thereby replacing the original resource that was passed in on * register_resource. */ public void addResourceRecord (Uid rcUid, Resource r) { if (jtsLogger.logger.isDebugEnabled()) { jtsLogger.logger.debug(DebugLevel.FUNCTIONS, VisibilityLevel.VIS_PUBLIC, FacilityCode.FAC_CRASH_RECOVERY, "CachedRecoveredTransaction.addResourceRecord [" +_theTransactionUid+", "+_theTransactionType+"]" +"("+rcUid+")"); } TransactionCache.addResourceRecord(_theTransactionUid, _theTransactionType, rcUid, r); }