原子性使得这两个操作——从储蓄帐户减钱和向支票帐户加钱——被当作单个事务处理。
Atomicity enables the two operations—the subtraction from the savings account and the addition to the checking account—to be treated as a single transaction.
有一种普遍的观点是,如果只是要读一个对象的字段,不需要请求加锁,尤其是在JLS保证了32位读操作的原子性的情况下,它更是如此。
It is a commonly held belief that you do not need to acquire a lock to simply read an object's fields, especially since the JLS guarantees that 32-bit reads will be atomic.
低级(lower - level)技巧涉及在体系结构中尽可能低的层启动事务,同时仍然能够更新操作的原子性和隔离。
The lower-level technique involves starting the transaction at the lowest possible layer in the architecture while still being able to maintain atomicity and isolation of the update operations.
ConcurrentDictionary类支持原子性的添加和更新操作。
The ConcurrentDictionary class supports atomic adds and updates.
GCC (GNUCompilerCollection,4.1和更高版本)提供几个原子性的内置函数(见参考资料),可以使用它们为x86 和 x86-64平台实现CAS操作。
Thankfully, GCC (GNU Compiler Collection, from version 4.1 onwards) provides atomic built-ins (see Resources) that you can use to implement CAS operations for both x86 and x86-64 platforms.
Mnesia支持ACID(A=原子性,C=一致性,I=隔离性,D=耐久性),不过也提供仅限于内存的数据表操作能力(以牺牲耐久性为代价)。
Mnesia supports ACID (Atomicity, Consistency, Isolation and Durability), but also offers the ability to perform in memory only operations on tables (at the expense of durability).
原子性使得这两个操作——从储蓄帐户减钱和向支票帐户加钱——被当作单个事务进行处理。
Atomicity enables the two operations — the subtraction from the savings account and the addition to the checking account — to be treated as a single transaction.
原子性指数据库操作可以组合到一起,当作单个单元处理。
Atomicity means that operations with the database can be grouped together and treated as a single unit.
原子性意味着要么所有事务操作都应用于应用程序状态,要么都不应用;事务是不可拆分的工作单元。
Atomicity means that either all of the transactions' operations are applied to the application state, or none of them are applied; the transaction is an indivisible unit of work.
原子性的保证意味着,要么所有这些操作都将出现,要么一个操作也不出现,从而确保整个数据的完整性。
The guarantee of atomicity means that either all or none of these operations will occur, hence ensuring overall data integrity.
这种操作类型是在原子性和事务带来的巨大代价之间的折中。
This variant is a compromise between atomicity and cost of transaction overhead.
现在,我们将事务定义为对应用程序状态的相关操作的集合。 事务具有原子性、一致性、隔离性以及持久性 这几个属性。
We can now define a transaction as a related collection of operations on the application state, which has the properties of atomicity, consistency, isolation, and durability.
不涉及事务原子性的日志操作。
如果一个应用程序发生崩溃,那么他的所有操作将会被回退(原子性),如果一个应用程序成功,那么他的所有操作将被保证成功(持久性)。
If an application crashes, its operations are backed out (atomicity). If an application succeeds, all of its operations are guaranteed to survive (durability).
J2EE提供了一些事务,通过这些事务可以将一系列操作(持久性消息接收、数据库更新,等等)划分为单个原子操作。
J2EE provides transactions, by which a sequence of operations (persistent message receives, database updates, and so on) can be grouped into a single atomic operation.
对于非原子we b流还是强烈推荐使用乐观锁来保护每个用户操作的数据完整性。
Optimistic locking is still highly recommended for non-atomic Web flows to protect the data integrity of each user action.
同样的,更行多个数据表的操作能够利用事务的原子性的优点。
Likewise, operations updating multiple tables can take advantage of transactional atomicity in their changes.
原子性的保证仅限于单个操作;如果必须将多个操作作为一个单元执行,则必须使用更粗粒度的同步机制。
The guarantee of atomicity is limited to individual operations; when multiple operations must be performed as a unit, a more coarse-grained synchronization mechanism must be used.
可操作反应器来以单原子层精度以及高速化学气相处理模式处理多个挠性或扁平衬底。
The reactor can be operated to process multiple flexible or flat substrates with a single atomic layer precision as well as high-speed chemical vapor processing mode.
可操作反应器来以单原子层精度以及高速化学气相处理模式处理多个挠性或扁平衬底。
The reactor can be operated to process multiple flexible or flat substrates with a single atomic layer precision as well as high-speed chemical vapor processing mode.
应用推荐