Javadoc
A thread safe method to convert an imported Xid into a Transaction object. If the transaction does not exist
then a subordinate transaction for the xid will be created and associated with the global transaction.
In the case where a new subordinate is created then the timeout parameter will be used. If timeout is non zero
then the inflowed transaction will survive for that period before being
eligible to be aborted. If timeout is zero then no timeout will be associated with the subordinate transaction.