/** * Swap an old Resource that was registered with the transaction * for a new one. The old one is identified by its * RecoveryCoordinator that was returned when the Resource was * registered. The second parameter is the new Resouce. */ public final void swapResource (Uid rcUid, Resource r) { _cachedRecoveredTransaction.addResourceRecord(rcUid, r); }
/** * Swap an old Resource that was registered with the transaction * for a new one. The old one is identified by its * RecoveryCoordinator that was returned when the Resource was * registered. The second parameter is the new Resouce. */ public final void swapResource (Uid rcUid, Resource r) { _cachedRecoveredTransaction.addResourceRecord(rcUid, r); }