MCPcopy Create free account
hub / github.com/Flamewaker/JavaPersonalSummary / Account

Class Account

Code/concurrent/Others/Account.java:11–53  ·  view source on GitHub ↗

@author todd @date 2020/6/2 11:13 @description: 对业务写方法加锁,对业务读方法不加锁,容易产生脏读问题(dirtyRead) 锁定过程中可以运行非同步方法,从而产生脏读问题。加锁影响性能。

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected