Don’t worry too much . It’s thread-safe.
you can see
final ReentrantLock lrLck = new ReentrantLock();
DgraphClient.newTransaction()
in DgraphClient.java's source code .
Don’t worry too much . It’s thread-safe.
you can see
final ReentrantLock lrLck = new ReentrantLock();
DgraphClient.newTransaction()
in DgraphClient.java's source code .