This behavior can be achieved using the Two-Phase-Commit protocol.
该行为可以通过使用两阶段提交(Two - Phase -Commit)协议完成。
Figure 1 gives you a graphical impression of how the Two-Phase-Commit protocol works.
图1提供了对于两阶段提交(Two - Phase -Commit)协议如何工作的图形化印象。
The xyzXADataSource classes contains the native XA code to enable the Two-Phase-Commit protocol.
xyzxadatasource类包含了用于启用两阶段提交协议的本地xa代码。
The prepare method causes the database to invoke "Phase 1" of the Two-Phase-Commit protocol.
prepare方法引起数据库调用两阶段提交协议(Two-Phase-Commit)的“第 1 阶段”。
WS-AtomicTransaction supports transactions over SOAP with a distributed two-phase commit protocol.
WS -AtomicTransaction使用两阶段提交协议支持SOAP上的事务处理。
In the first case, the TCS can use the two-phase commit protocol 10 to manage the transaction steps.
在第一种情况下,TCS可以使用两阶段提交协议10来管理事务步骤。
A commit protocol enables multiple processes to coordinate the committing or aborting of a transaction.
提交协议使多个流程能够协调事务的提交或中止。
This example is not using the Two-Phase-Commit protocol and therefore it is not a Distributed Transaction.
本例没有使用两阶段提交(Two-Phase-Commit)协议,因此,它不是一个分布式事务(Distributed Transaction)。
"But", a you might ask, "what happens if an error occurs during Phase 2 of the Two-Phase-Commit protocol?"
“但是”,您或许会问,“如果在两阶段提交(Two - Phase - Commit)协议的第2阶段中出现错误,又将发生什么事情呢?”
Are there any circumstances when a one-phase commit protocol provides benefits over a two-phase commit protocol?
是否存在单阶段提交协议比两阶段提交协议更有好处的情况?
The two-phase commit protocol is driven by the caller's WS-AT coordinator when it is ready to commit the transaction.
当准备好提交事务时,两阶段提交协议将由调用方的WS - AT协调器进行驱动。
There is a set of methods in JTA which "packages" your traditional JDBC calls into the Two-Phase-Commit protocol.
JTA中有一组方法,它将传统的JDBC调用封装到了两阶段提交(Two - Phase - Commit)协议中。
This paper adopted the combination of optimistic executing and two-phase commit protocol to study the new method.
采用乐观执行与两阶段提交相结合的方法,对移动事务处理方法进行了新的研究。
When the application invokes commit , the transaction manager USES a two-phase commit protocol to end the transaction.
当应用程序调用commit时,事务管理器用一个两阶段的提交协议结束事务。
In this article, Gang focuses on XA distributed transactions and on the inner workings of the two-phase commit protocol.
在本文当中,Gang将集中探讨xa分布式事务及两阶段确认协议的内部工作。
The following example (Listing 3) demonstrates a small application that implements the Two-Phase-Commit protocol using JTA.
下面的例子(清单3)演示了一个小型应用程序,该应用程序使用JTA实现两阶段提交(Two - Phase - Commit)协议。
The most common commit protocol is the two-phase commit protocol. As it is named, the two-phase commit protocol involves two phases.
最常见的提交协议是两阶段提交协议。
In a two-phase commit protocol, the TCS first polls the participants to see if they are ready, and then issues the commit to each in turn.
在一个两阶段提交协议中,TCS首先轮询参与者,看是否它们准备好了,然后依次向每个参与者发布提交。
Using the WebSphere global transaction, where two-phase commit protocol is in place, will significantly decrease the overall performance.
利用WebSphere全局处理事务,在这里的适当位置提交协议的两种状态,将明显降低总体性能。
Transaction handling interfaces deal with managing distributed transactions across various back ends that support a two-phase commit protocol.
事务处理(Transactionhandling)接口负责管理跨支持两阶段提交协议的各种后端的分布式事务。
As mentioned in section "Introduction into the Two-Phase-Commit protocol" an XA transaction contains two elements which define the transaction.
正如“两阶段提交协议简介”小节中提到的,XA事务包含定义该事务的两个元素。
DB is the database node. It receives updates of the applications and therefore registers as a participant for the 2-phase-commit protocol.
DB是数据库节点,它负责接收应用程序的更新,因此它作为一个参与者来注册两阶段提交协议。
A new commit protocol called A2SC (active double space commit) is proposed, which cater for the distributed real-time transaction commitment processing.
提出了一种新的提交协议A2SC(主动的双空间提交),它适合于分布式实时事务提交处理的需要。
In a distributed real time database system, the only way to ensure transaction atomicity is to investigate and develop a real time atomic commit protocol.
在分布式实时数据库系统中,保证事务原子性的唯一途径是研究和开发出一个实时的原子提交协议。
In some cases, although possible, distributed transactions may not be desirable due to the performance overhead associated with the two phase commit protocol.
在有些情况下,即使有可能,分布式事务也可能由于与双向提交协议有关的性能问题而变得不适用。
This paper puts emphasis on presenting a framework for distributed transaction:management goals, properties, two phase commit protocol and concurrency control.
重点讨论了分布式事务的管理目标、性质、两阶段提交协议、并发控制。
But there is still an open question mentioned in the section "Introduction into the Two-Phase-Commit protocol". What to do, if "Phase 2" failed for a transaction branch?
但是“两阶段提交协议简介”小节中提到仍然存在一个问题,那就是如果第2阶段中一个事务分支发生故障,该怎么办呢?
To make this happen, the 2-phase-commit protocol was invented (see Principles of Distributed Database systems in Resources) and is also implemented in various systems.
为确保这一点,两步提交协议(请参阅参考资料中的分布式数据库原理)被提出且在各种系统中实现。
But there is still an open question mentioned in the section "Introduction into the Two-Phase - Commit protocol". What to do, if "Phase 2" failed for a transaction branch?
但是“两阶段提交协议简介”小节中提到仍然存在一个问题,那就是如果第2阶段中一个事务分支发生故障,该怎么办呢?
But there is still an open question mentioned in the section "Introduction into the Two-Phase - Commit protocol". What to do, if "Phase 2" failed for a transaction branch?
但是“两阶段提交协议简介”小节中提到仍然存在一个问题,那就是如果第2阶段中一个事务分支发生故障,该怎么办呢?
应用推荐