如果它是一个TransactionMsg,那么就访问修改行的列表,并用该列表的大小来更新计数器。
If it's a TransactionMsg, then the list of modified rows is accessed, and the counter is updated by the size of the list.
向数据库添加触发器,以便对该表中的记录的每个更新都会导致修订计数器递增。
We add a trigger to database so that every update to a record in the table increments the revision counter.
所有更新操作都必须包含从检索获得的修订计数器。
All update operations must include the revision counter obtained from the retrieval.
第一个计数器更新确实是这样。
请注意,此实现在更新时要求使用者提供正确的修订计数器;进行纠正的责任分散到数据库、提供者和使用者三者身上。
Note how this implementation requires the consumer to provide an accurate revision counter when it is being updated; responsibility for correctness is spread across database, provider, and consumer.
查询用在PDH函数调用中更新它管理的计数器,因而获取性能数据。
Queries are used within PDH function calls to update the counters it manages, thereby obtaining performance data.
在计数器的示例中,冒险的步骤是递增——它检索旧值并在旧值上加一,希望在计算更新期间值不会变化。
In the case of the counter, the speculative step is the increment — it fetches and adds one to the old value in the hopes that the value will not change while the update is being computed.
另一方面,如果两个应用程序轮流更新分发器对象,保留的计数器状态就导致不好的结果。
On the other hand, if a pair of applications is taking turns updating the dispenser, perhaps as some kind of load balancing, that remembered state backfires on us.
您可以更改dispenser类以将更新的计数器值保存到一个文件中,但这可能导致新的问题,因为没有在各个进程之间协调同步。
You could change the Dispenser class to save the updated counter value to a file, but that would lead to new problems because of the synchronization not being coordinated across process boundaries.
测量基础架构包含了大约一千个性能计数器,它们的数量还在随着MicrosoftWindows更新版本的发布而增长。
The measurement infrastructure contains approximately one thousand performance counters, and the quantity is increasing with newer releases of Microsoft Windows.
tb_update_count:在对tb寄存器进行更新时用作计数器使用。
我们必须从服务器获取当前的计数器值,但在成功更新之后将保存计数器的状态。
We must fetch the current counter value from the server, but the counter state is remembered after a successful update.
更新操作实现必须对数据库记录进行限定的更新操作,如“如果修订计数器等于…则更新记录…”。
The update operation implementation must make a qualified update to the database record such as, "update record.".. where the the revision counter equals...
可能有人会恶意地通过未保护更新破坏计数器属性,但这种破坏也可以发生在常规的更新中。
It would be possible for someone to maliciously corrupt the counter property via an unprotected update, but that same malicious party could do the same thing with a normal update cycle.
传送重试队列中当前具有的批通知数。启用应用程序时,此计数器会定期进行更新。
The number of current notification batches in the delivery retry queue. This counter is updated periodically when the application is enabled.
注意所有方法,甚至需要同步get(),使类成为线程安全的类,从而确保没有任何更新信息丢失,所有线程都看到计数器的最新值。
Note that all the methods, even get(), need to be synchronized for the class to be thread-safe, to ensure that no updates are lost, and that all threads see the most recent value of the counter.
无法更新规则触发计数性能计数器。
The rule firing count performance counter could not be updated.
对于这种情况,通常需要3次循环才能执行一次更新(首次更新尝试失败;获取当前的计数器值;最后成功更新)。
In that case, it will usually cost three round-trips to do an update (the initial failed update attempt, the fetch of the current counter value, and the final successful update).
已提交但尚未被生成器拾取的批事件数。此计数器在应用程序启用后将定期更新。
The number of event batches committed but not yet picked up by the generator. This counter is updated periodically when the application is enabled.
乐观锁而不是使用一个计数器进行沟通时,已更新某个对象,或是否更新了。
Optimistic locking instead USES a counter to communicate when an object has been updated, or to verify whether an update has happened.
在每一jit编译阶段的结尾更新此计数器。
This counter is updated at the end of every JIT compilation phase.
在一个用于产生数列的系统中,一组计数器可以在每个计算步骤中被更新,这是通过向各个计数器加上进位值来实现的。
In a system for generating a sequence of Numbers, an array of counters is updated at each computational step, whereby a carry value is added to each counter.
在一个用于产生数列的系统中,一组计数器可以在每个计算步骤中被更新,这是通过向各个计数器加上进位值来实现的。
In a system for generating a sequence of Numbers, an array of counters is updated at each computational step, whereby a carry value is added to each counter.
应用推荐