This is a process for binding an end user to an action or transaction.
这是把一个终端用户和某项动作或者事务绑定在一起的过程。
What makes this transaction important - and worthy of study - is that the deal is a window into the future.
是什么让这个交易变得如此的重要-值得研究的是,这一交易是未来的一个窗口。
Since the target is created specifically to support those service requests, this pattern is a preferred approach for requirements of highly frequent transaction execution.
因为目标专门创建用于支持这些服务请求,所以对于高事务执行频率的需求,该模式是一种首选的方法。
The concept of a transaction is of essential importance in this context.
在这种上下文环境中,交易的概念就显得极其重要。
For transactions, this could mean that a service that is part of a transaction calls another service that is also part of the transaction.
对于事务,这可能意味着,作为事务一部分的服务可能调用了同是该事务一部分的另一个服务。
At transaction initiation, CICS implicitly starts a new task; this is the initial boundary of the transactional work to be undertaken.
在事务启动时,CICS将隐式启动一个新任务;这是承担事务工作的初始边界。
This intent defines a unit of work scope, within which the transaction is atomic.
此意图定义工作范围单位,在此范围内事务具有原子性。
This ensures that the read method is included in a transaction scope if it is invoked within that scope's context.
这将确保在作用域的上下文中调用读方法时,它将包含在事务作用域中。
This is a situation where the global transaction is partially committed.
这就是一种部分提交全局事务的情形。
Unfortunately, the effect of this characteristic is that a lower-level method that isn't the transaction owner might perform a rollback on exception.
遗憾的是,此特性的效果是,作为非事务拥有者的较低级方法可以对异常执行回滚。
As I said earlier, one of the biggest restrictions with this transaction strategy is that the client layer must be able to start a transaction and propagate it to the API layer.
如前所述,这种事务策略的最大一个限制就是,客户端层必须能够开始一个事务并将它传播给api层。
This will ensure that the read method is included in a transaction scope if it is invoked within that scope's context.
这将确保在一个事务范围的上下文内调用读方法时,该方法被包括在事务范围内。
This is a great way of guaranteeing that your transaction strategy is solid.
这是确保事务策略坚固的理想方法。
This count is very different from the transaction count from a NotesBench run.
这一计数与 NotesBench运行的事务数完全不同。
This qualifier determines whether the target service is capable of joining a client-propagated transaction.
此限定符决定是否目标服务能够加入一个客户端传播(client - propagated)事务。
For parallel operations this is not a factor, but consider when a transaction is serial and information from one service call may be needed by another.
对于并行操作,这不是一个因素,但考虑当事务是串行的且来自一个服务调用的信息可能是其他服务调用所需时。
As you can see from this overview, developing an effective transaction strategy is not always a straightforward task.
从这篇概述中可以看到,开发一个有效的事务策略并非总是一项简单的任务。
The pattern in this case is that when the first transaction reads a row it will "stamp" it with the identity of the user, similarly to how pessimistic session locking is handled (covered next).
本例中的模式是当第一个事务读取某个数据行时,它将加上时间戳和用户标识,这类似于悲观会话锁定的处理方式(稍后讨论)。
When a transaction starts, the scope key for this transaction is added to this context object.
当一个事务开始时,这个事务的范围键被添加到这个上下文对象中。
For example, certain log events that impact financial data or personal information might require an acknowledgement because this log event is part of a larger transaction.
比方说,影响财务数据或个人信息的某些登录事件可能需要确认,因为这些登录事件是更大事务中的一部分。
If the client propagates a transaction and a component is configured to join that transaction, then this component will run under the same transaction.
如果一个客户端传播一个事务,且组件被配置来加入该事务,那么这个组件将在同一个事务下运行。
Remember, what I described in this article is a transaction strategy.
记住,本文所描述的是一种事务策略。
Description: This is a J2C interface for transaction demarcation on a corresponding connection.
描述:这是用于相应连接上的事务划分的J2C接口。
This transaction demarcation strategy is especially valuable for applications that need to access multiple DAOs in a single transaction.
这种事务界定策略对于需要在一个事务中访问多个DAO的应用程序特别有用。
The example for this exercise is a transaction management program.
可以将一个事务管理程序作为练习的例子。
So in this example there is a global transaction numbered 100 that contains two branches with ID 1 and ID 2.
因此本例中,就有一个编号为100的全局事务,其中包含两个ID分别为1和2的分支。
This is required because, when a transaction is first executed, the client is attached only to the first machine in the transaction's path.
这样做的原因是,当一个事务第一次执行时,只有事务路径上的第一台机器的客户端会被添加进来。
This is achieved by using a transaction element and a compensation element.
这是通过使用事务元素和补偿元素来实现的。
This qualifier takes effect in a global transaction only and is ignored when it is a local transaction or if the invocation is done asynchronously.
这个限定符仅在全局事务中有效,如果在本地事务中或者调用是异步的,它则被忽略。
As mentioned earlier, the focus of this article is to demonstrate how the various components work under a single transaction.
正如前面提到的,本文的重点是演示各种组件如何在单个事务下工作。
应用推荐