在这两种情况中,内耗都是正比于(1 - S)的一次幂或二次幂的,这里s是长程有序程度。
In either case the internal friction is found to be proportional to the first and second power of (1-s), where is the degree of long range order.
例如,GET、POST和DELETE方法是等幂的,即多次执行它们与执行一次的结果相同。
For example, the GET, PUT, and DELETE methods are idempotent, meaning that the result of executing them multiple times is the same as that of executing them once.
第二个问题是以幂等方式处理序列消息,这样这些消息被执行一次,且一次。
A second problem was handling sequential messages in an idempotent fashion, such that they are executed once and only once.
如果您这样做了,请设计一个幂等(idempotent)方法:也就是说,无论这个方式是被调用一次还是十次,确保它总是实现相同的功能。
If you do this, design the method to be idempotent: That is, make sure it does exactly the same thing whether it's invoked once or a dozen times.
如果您这样做了,请设计一个幂等(idempotent)方法:也就是说,无论这个方式是被调用一次还是十次,确保它总是实现相同的功能。
If you do this, design the method to be idempotent: That is, make sure it does exactly the same thing whether it's invoked once or a dozen times.
应用推荐