public static void addTxn ( TransactionImpl txn ) { if ( tc . isEntryEnabled ( ) ) Tr . entry ( tc , "addTxn" , txn ) ; final ByteArray key = new ByteArray ( txn . getXid ( ) . getGlobalTransactionId ( ) ) ; synchronized ( txnTable ) { if ( ! txnTable . containsKey ( key ) ) { txnTable . put ( key , new JCATranWrapperImpl ( txn , true , false ) ) ; // @LIDB2110C } } if ( tc . isEntryEnabled ( ) ) Tr . exit ( tc , "addTxn" ) ; }
To be called by recovery manager