Hi Asad,

No.  For efficiency, RaftClient is not thread-safe.

No.  Objects provided by Ratis in general are thread-compatible but not
thread-safe, unless it is specified in the javadoc.  Of course, immutable
objects are thread safe.

You are welcome.

Tsz-Wo


On Sat, Nov 20, 2021 at 12:30 PM Asad Awadia <[email protected]> wrote:

> Hello,
>
> Is the raft client thread safe?
>
> Is the general expectation that the objects exposed by this library thread
> safe?
>
> Thanks again,
>
> Asad
>

Reply via email to