InheritableThreadLocal 很合适用于把数据从父线程传到子线程,例如用户标识(user id)或事务标识(transaction id),但不能是有状态对象,例如 JDBC Connection。
基于32个网页-相关网页
Origination Transaction ID 源事务标识号
global transaction ID 全局事务 ; 全局事务ID
accounting transaction ID 会计交易ID
transaction reference id 办理参考号码
The first table contains the transaction id identifying a single market basket along with the product IDs.
第一个表中包含用来标识单个市场购物篮的交易ID以及产品ID。
The accid attribute will be the unique transaction id number that the accounting system assigns to that transaction.
accid属性将是会计系统分配给这个交易的惟一交易id号。
If so, the transaction id, or Xid, is propagated to the remote object as part of the IIOP call along with the method parameters.
如果是,事务标识,或者说Xid,被作为IIOP调用的一部分与方法参数一起传播到远程对象。
应用推荐