Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

源码问题,TxManagerLocator中使用AtomicReference的问题。 #59

Open
zhaiweihao opened this issue Jul 29, 2020 · 0 comments
Open

Comments

@zhaiweihao
Copy link

org.dromara.raincat.core.service.impl.TxManagerLocator中存储server列表的部分使用的是AtomicReference。这里的修改部分又加了锁,如果不用原子类,直接用volatile不可以吗。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant