Skip to content

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

@zhaiweihao

Description

@zhaiweihao

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions