With this strategy, because you are not holding read locks on data, the chance of getting stale data exceptions when you execute the update operations increases.
通过此策略,由于您未对数据保持读取锁,因此在执行更新操作时遇到失效数据异常的机率会增加。
The NHRT needs to wait until the RT is no longer preempted by GC and then release the lock before the NHRT has a chance to execute.
NHRT需要一直等到RT不再被GC抢占并释放锁后才能执行。
Then, if you can execute on those decisions, you have a better chance of being successful.
然后,如果你可以按照这些决定去执行,你的成功的希望就大大增加了。
应用推荐