returns a globally unique transaction id . xid `` number '' is based on provided tid argument , inet local host address , static counter of generated ids and a random int number . xid format is static value 4660 . concode_field_sep byte[] gtrid concode_elem_sep int formatId concode_elem_sep byte[] localIP concode_elem_sep byte[] bqual concode_elem_sep int txnUniqueID concode_field_sep byte[] getGlobalTransactionId concode_elem_sep int getFormatId concode_elem_sep Xid getXid concode_elem_sep int hashCode concode_elem_sep byte[] getBranchQualifier concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep Xid getStableXid
Xid function ( int arg0 ) { Random loc0 = new Random ( System . currentTimeMillis ( ) ) ; txnUniqueID ++ ; int loc1 = txnUniqueID ; int loc2 = arg0 ; int loc3 = loc0 . nextInt ( ) ; return getXid ( loc1 , loc2 , loc3 ) ; }